Pagini recente » Borderou de evaluare (job #2724532) | Borderou de evaluare (job #2099525) | Borderou de evaluare (job #970247) | Borderou de evaluare (job #789831) | Borderou de evaluare (job #2522945)
Borderou de evaluare (job #2522945)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:39:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=1;i<=n;i++)
^~~
main.cpp:41:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
return 0;
^~~~~~
main.cpp:26:31: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("snpid.in","r",stdin);
^
main.cpp:27:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("snpid.out","w",stdout);
^
main.cpp:28:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:30:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 3ms | 131kb | OK | 10 |
3 | 3ms | 262kb | OK | 10 |
4 | 4ms | 262kb | OK | 10 |
5 | 22ms | 1048kb | OK | 10 |
6 | 46ms | 1929kb | OK | 10 |
7 | 99ms | 3133kb | OK | 10 |
8 | 93ms | 3932kb | OK | 10 |
9 | 83ms | 4325kb | OK | 10 |
10 | 143ms | 4698kb | OK | 10 |
Punctaj total | 100 |