Pagini recente » Borderou de evaluare (job #799095) | Borderou de evaluare (job #1610786) | Borderou de evaluare (job #868983) | Borderou de evaluare (job #351566) | Borderou de evaluare (job #2499809)
Borderou de evaluare (job #2499809)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:116:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i = p2-max; i< p2; i++) printf("%d ", count[i].a);printf("\n");
^~~
main.cpp:116:59: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int i = p2-max; i< p2; i++) printf("%d ", count[i].a);printf("\n");
^~~~~~
main.cpp:44:16: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:50:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &count[i].a);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 3ms | 131kb | Ok! | 10 | 50 |
2 | 3ms | 131kb | Ok! | 10 |
3 | 2ms | 131kb | Ok! | 10 |
4 | 2ms | 131kb | Ok! | 10 |
5 | 6ms | 262kb | Ok! | 10 |
6 | 3ms | 131kb | Ok! | 10 | 50 |
7 | 4ms | 131kb | Ok! | 10 |
8 | 4ms | 131kb | Ok! | 10 |
9 | 5ms | 262kb | Ok! | 10 |
10 | 2ms | 131kb | Ok! | 10 |
Punctaj total | 100 |