Borderou de evaluare (job #673202)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cifre8 (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 1 nov. 2022 19:16:19 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:28:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
28 | if(cnt1<cnt)
| ^~
main.cpp:30:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
30 | if(cnt<cnt1)
| ^~
main.cpp:31:28: error: unable to find string literal operator 'operator""p' with 'const char [2]', 'unsigned int' arguments
31 | fout<<cnt<<" "p%10;
| ^~~~
main.cpp:9:23: warning: unused variable 'cp' [-Wunused-variable]
9 | long long p=1,cp;
| ^~
main.cpp:10:16: warning: unused variable 'uc' [-Wunused-variable]
10 | int n,cnt=0,uc,i,cnt1=0,p10=1,p5=5;
| ^~
main.cpp:10:28: warning: unused variable 'p10' [-Wunused-variable]
10 | int n,cnt=0,uc,i,cnt1=0,p10=1,p5=5;
| ^~~
main.cpp:10:34: warning: unused variable 'p5' [-Wunused-variable]
10 | int n,cnt=0,uc,i,cnt1=0,p10=1,p5=5;
| ^~