Pagini recente » Borderou de evaluare (job #197391) | Borderou de evaluare (job #2591300) | Borderou de evaluare (job #1057020) | Borderou de evaluare (job #1992545) | Borderou de evaluare (job #2266962)
Borderou de evaluare (job #2266962)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:72:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int t = 1; t <= T; t++)
^~~
main.cpp:75:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
return 0;
^~~~~~
main.cpp: In function 'void solve_test()':
main.cpp:49:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &A, &B, &mod);
^
main.cpp: In function 'int main()':
main.cpp:57:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ackermann.in", "r", stdin);
^
main.cpp:58:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ackermann.out", "w", stdout);
^
main.cpp:70:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 22ms | 303kb | OK | 100 |
Punctaj total | 100 |