Pagini recente » Borderou de evaluare (job #2648569) | Borderou de evaluare (job #493164) | Borderou de evaluare (job #1499391) | Borderou de evaluare (job #2083783) | Borderou de evaluare (job #1369714)
Borderou de evaluare (job #1369714)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sobo.in", "r", stdin);
^
user.cpp:20:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sobo.out", "w", stdout);
^
user.cpp:22:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &l);
^
user.cpp:27:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n", s);
^
user.cpp:31:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i = 0; i < l; ++i) scanf("%d", cost + i);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | Cool! | 10 |
2 | 0ms | 272kb | Cool! | 10 |
3 | 0ms | 276kb | Cool! | 10 |
4 | 68ms | 280kb | Cool! | 10 |
5 | 4ms | 288kb | Cool! | 10 |
6 | 8ms | 308kb | Cool! | 10 |
7 | 8ms | 336kb | Cool! | 10 |
8 | 12ms | 340kb | Cool! | 10 |
9 | 56ms | 392kb | Cool! | 10 |
10 | 20ms | 368kb | Cool! | 10 |
Punctaj total | 100 |