Pagini recente » Borderou de evaluare (job #467260) | Borderou de evaluare (job #849857) | Borderou de evaluare (job #1314511) | Borderou de evaluare (job #556627) | Borderou de evaluare (job #1914750)
Borderou de evaluare (job #1914750)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:15: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:17:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:22:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf(" %d", &cost[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:55: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:56: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);
^
/tmp/cc8xW06a.o: In function `read()':
user.cpp:(.text+0x48): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 724kb | Cool! | 10 |
2 | 0ms | 724kb | Cool! | 10 |
3 | 0ms | 732kb | Cool! | 10 |
4 | 8ms | 752kb | Cool! | 10 |
5 | 0ms | 756kb | Cool! | 10 |
6 | 0ms | 764kb | Cool! | 10 |
7 | 0ms | 768kb | Cool! | 10 |
8 | 0ms | 768kb | Cool! | 10 |
9 | 4ms | 776kb | Cool! | 10 |
10 | 0ms | 768kb | Cool! | 10 |
Punctaj total | 100 |