Pagini recente » Borderou de evaluare (job #2325512) | Borderou de evaluare (job #177537) | Borderou de evaluare (job #2614028) | Borderou de evaluare (job #478503) | Borderou de evaluare (job #2517488)
Borderou de evaluare (job #2517488)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:15:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i = 2 ; i<= N ; ++i )
^~~
main.cpp:40:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int i = 1 ; i<= N ; ++i )
^~~
main.cpp:8:46: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("concert2.in" , "r" , stdin );
^
main.cpp:9:48: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("concert2.out" , "w" , stdout );
^
main.cpp:10:42: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d" , &N , &k1 , &k2 );
^
main.cpp:12:32: 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 |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 100 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 4ms | 131kb | OK | 10 |
5 | 24ms | 200kb | OK | 10 |
6 | 21ms | 131kb | OK | 10 |
7 | 34ms | 196kb | OK | 10 |
8 | 39ms | 131kb | OK | 10 |
9 | 26ms | 204kb | OK | 10 |
10 | 30ms | 208kb | OK | 10 |
Punctaj total | 100 |