Pagini recente » Cod sursa (job #1945030) | Borderou de evaluare (job #2053453) | Borderou de evaluare (job #2188491) | Cod sursa (job #3279887) | Borderou de evaluare (job #1445813)
Borderou de evaluare (job #1445813)
Raport evaluator
Compilare:
user.cpp: In function ‘void ins(Trie*, char*, int)’:
user.cpp:62:9: warning: unused variable ‘i’ [-Wunused-variable]
int i, nr = val(*s);
^
user.cpp: In function ‘int Count(Trie*, char*)’:
user.cpp:97:9: warning: unused variable ‘i’ [-Wunused-variable]
int i, nr = val(*s);
^
user.cpp: In function ‘void Read_Text()’:
user.cpp:21:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
user.cpp:24: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:111: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:119: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/ccypQF4k.o: In function `Read_Text()':
user.cpp:(.text+0x7b): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 148ms | 388kb | OK | 10 |
2 | 28ms | 328kb | OK | 10 |
3 | 216ms | 35464kb | OK | 10 |
4 | 236ms | 35464kb | OK | 10 |
5 | Depăşit | 62916kb | Time limit exceeded. | 0 |
6 | Depăşit | 53712kb | Time limit exceeded. | 0 |
7 | Depăşit | 40404kb | Time limit exceeded. | 0 |
8 | Depăşit | 36576kb | Time limit exceeded. | 0 |
9 | Depăşit | 37900kb | Time limit exceeded. | 0 |
10 | Depăşit | 5288kb | Time limit exceeded. | 0 |
Punctaj total | 40 |