Pagini recente » Borderou de evaluare (job #2601976) | Borderou de evaluare (job #2738452) | Borderou de evaluare (job #547328) | Borderou de evaluare (job #1399312) | Borderou de evaluare (job #2248274)
Borderou de evaluare (job #2248274)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:77:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for(int t = 1; t <= T; t++)
^~~
user.cpp:80:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
return 0;
^~~~~~
user.cpp: In function ‘void solve_test()’:
user.cpp:18:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:21:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:71:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("guest.in", "r", stdin);
^
user.cpp:72:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("guest.out", "w", stdout);
^
user.cpp:76: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 | 548ms | 5580kb | OK | 100 |
Punctaj total | 100 |