Pagini recente » Cod sursa (job #1629923) | Cod sursa (job #550676) | Cod sursa (job #3274376) | Cod sursa (job #2998398) | Borderou de evaluare (job #1445811)
Borderou de evaluare (job #1445811)
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:99: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:114: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:122: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/cc4N7MlC.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 | 76ms | 364kb | OK | 10 |
2 | 8ms | 308kb | OK | 10 |
3 | 136ms | 23720kb | OK | 10 |
4 | 156ms | 23720kb | OK | 10 |
5 | 300ms | 45504kb | OK | 10 |
6 | Depăşit | 55824kb | Time limit exceeded. | 0 |
7 | Depăşit | 42760kb | Time limit exceeded. | 0 |
8 | Depăşit | 42100kb | Time limit exceeded. | 0 |
9 | Depăşit | 41308kb | Time limit exceeded. | 0 |
10 | 296ms | 3716kb | OK | 10 |
Punctaj total | 60 |