Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
5442 | D班-汤依宁 | 小鱼的航程 | C++ | Wrong Answer | 0 | 1 MS | 260 KB | 302 | 2025-02-09 15:29:04 |
#include <bits/stdc++.h> using namespace std; int main() { int a,b,c=0,d=0,zonglucheng=0; cin>>a>>b; for(;c<b;c++) { if(a==6 ||a==7) { zonglucheng+=0; } else { zonglucheng+=250; } cout<<a<<endl; a++; if(a==7) { a=1; } } cout<<zonglucheng; }