Pagini recente » Borderou de evaluare (job #1457488) | Cod sursa (job #404194) | Cod sursa (job #521077) | Cod sursa (job #2128821) | Borderou de evaluare (job #1444629)
Borderou de evaluare (job #1444629)
Raport evaluator
Compilare:
user.cpp: In function ‘void Read_Text()’:
user.cpp:20:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
user.cpp:23:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(aux);
^
user.cpp: In function ‘void Query()’:
user.cpp:98:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(aux, 20, stdin);
^
user.cpp: In function ‘int main()’:
user.cpp:106:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(scanf("%d ", &m); m; --m)
^
/tmp/cctmrb8y.o: In function `Read_Text()':
user.cpp:(.text+0x3b): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 64ms | 352kb | OK | 10 |
2 | 4ms | 296kb | OK | 10 |
3 | 120ms | Depăşit | Memory limit exceeded. | 0 |
4 | 120ms | Depăşit | Memory limit exceeded. | 0 |
5 | 156ms | Depăşit | Memory limit exceeded. | 0 |
6 | 212ms | Depăşit | Memory limit exceeded. | 0 |
7 | 292ms | Depăşit | Memory limit exceeded. | 0 |
8 | 300ms | Depăşit | Memory limit exceeded. | 0 |
9 | 304ms | Depăşit | Memory limit exceeded. | 0 |
10 | 272ms | 15384kb | OK | 10 |
Punctaj total | 30 |