Borderou de evaluare (job #639046)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Intervale | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 7 mar. 2022 11:25:47 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:23:15: warning: missing terminating " character
23 | ft<<nrk<<"\n;
| ^
main.cpp:23:15: error: missing terminating " character
23 | ft<<nrk<<"\n;
| ^~~~
main.cpp: In function 'int main()':
main.cpp:15:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
15 | for ( i = d; i <= 1000000; i = i + d )
| ^~~
main.cpp:17:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
17 | nrk = 0;
| ^~~
main.cpp:19:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
19 | {if ( nrdiv[a] == k )
| ^~
main.cpp:21:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
21 | a++;
| ^
main.cpp:24:5: error: expected primary-expression before '}' token
24 | }
| ^
main.cpp:10:29: warning: unused variable 'n' [-Wunused-variable]
10 | long long a,b,i,k,d,nrk,n;
| ^