Pagini recente » Cod sursa (job #880955) | Cod sursa (job #674331) | Borderou de evaluare (job #2666712) | Borderou de evaluare (job #1960885) | Borderou de evaluare (job #2617310)
Borderou de evaluare (job #2617310)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:31:33: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=]
printf("%ld ", v[i]);
^
main.cpp:33:33: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=]
printf("%ld ", v[i]);
^
main.cpp:36:33: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=]
printf("%ld ", v[i]);
^
main.cpp:38:33: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=]
printf("%ld ", v[i]);
^
main.cpp:10:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("farfurii.in", "r", stdin);
^
main.cpp:11:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("farfurii.out", "w", stdout);
^
main.cpp:13:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK! | 10 |
| 2 | 2ms | 131kb | OK! | 10 |
| 3 | 3ms | 131kb | OK! | 10 |
| 4 | 3ms | 131kb | OK! | 10 |
| 5 | 3ms | 131kb | OK! | 10 |
| 6 | 6ms | 262kb | OK! | 10 |
| 7 | 8ms | 262kb | OK! | 10 |
| 8 | 17ms | 524kb | OK! | 10 |
| 9 | 3ms | 131kb | Killed by Signal 11 | 0 |
| 10 | 2ms | 131kb | Killed by Signal 11 | 0 |
| Punctaj total | 80 |