Pagini recente » Borderou de evaluare (job #1005404) | Borderou de evaluare (job #319814) | Borderou de evaluare (job #95901) | Borderou de evaluare (job #803049) | Borderou de evaluare (job #1829399)
Borderou de evaluare (job #1829399)
Raport evaluator
Compilare:
user.cpp: In function ‘void add_trie(trie*, char*, bool)’:
user.cpp:28:14: warning: NULL used in arithmetic [-Wpointer-arith]
if(*s == NULL)
^
user.cpp: In function ‘int main()’:
user.cpp:79:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.in", "r", stdin);
^
user.cpp:80:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.out", "w", stdout);
^
user.cpp:86:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:90:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str);
^
user.cpp:100:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &m);
^
user.cpp:104:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str);
^
/tmp/cc1A17bG.o: In function `main':
user.cpp:(.text.startup+0x9d): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1096kb | OK | 10 |
2 | 12ms | 7232kb | OK | 10 |
3 | 60ms | 37196kb | OK | 10 |
4 | 192ms | Depăşit | Memory limit exceeded. | 0 |
5 | 196ms | Depăşit | Memory limit exceeded. | 0 |
6 | 196ms | Depăşit | Memory limit exceeded. | 0 |
7 | 192ms | Depăşit | Memory limit exceeded. | 0 |
8 | 192ms | Depăşit | Memory limit exceeded. | 0 |
9 | 196ms | Depăşit | Memory limit exceeded. | 0 |
10 | 192ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 30 |