Pagini recente » Borderou de evaluare (job #1829736) | Borderou de evaluare (job #2077470) | Borderou de evaluare (job #733527) | Borderou de evaluare (job #2944639) | Borderou de evaluare (job #1829401)
Borderou de evaluare (job #1829401)
Raport evaluator
Compilare:
user.cpp: In function ‘void add_trie(trie*, char*, bool)’:
user.cpp:27:14: warning: NULL used in arithmetic [-Wpointer-arith]
if(*s == NULL)
^
user.cpp: In function ‘int main()’:
user.cpp:68: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:69: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:75:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:79:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str);
^
user.cpp:89:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &m);
^
user.cpp:93:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str);
^
/tmp/ccrMqiEE.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 | 728kb | OK | 10 |
2 | 8ms | 4172kb | OK | 10 |
3 | 40ms | 20960kb | OK | 10 |
4 | 208ms | Depăşit | Memory limit exceeded. | 0 |
5 | 208ms | Depăşit | Memory limit exceeded. | 0 |
6 | 212ms | Depăşit | Memory limit exceeded. | 0 |
7 | 208ms | Depăşit | Memory limit exceeded. | 0 |
8 | 208ms | Depăşit | Memory limit exceeded. | 0 |
9 | 212ms | Depăşit | Memory limit exceeded. | 0 |
10 | 208ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 30 |