Pagini recente » Borderou de evaluare (job #455539) | Borderou de evaluare (job #2055206) | Borderou de evaluare (job #906911) | Borderou de evaluare (job #1664260) | Borderou de evaluare (job #1581922)
Borderou de evaluare (job #1581922)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:18:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp: In function ‘int main()’:
user.cpp:75:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("doi.in", "r", stdin);
^
user.cpp:76:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("doi.out", "w", stdout);
^
user.cpp:78:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &T);
^
/tmp/ccPQKLWS.o: In function `read()':
user.cpp:(.text+0x13): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 444kb | OK | 10 |
2 | 0ms | 448kb | OK | 10 |
3 | 0ms | 444kb | OK | 10 |
4 | 0ms | 448kb | OK | 10 |
5 | 0ms | 448kb | OK | 10 |
6 | 12ms | 452kb | OK | 10 |
7 | 64ms | 448kb | OK | 10 |
8 | 8ms | 444kb | OK | 10 |
9 | 60ms | 452kb | OK | 10 |
10 | 24ms | 452kb | OK | 10 |
Punctaj total | 100 |