Pagini recente » Borderou de evaluare (job #465085) | Borderou de evaluare (job #2202435) | Borderou de evaluare (job #866277) | Borderou de evaluare (job #1936827) | Borderou de evaluare (job #2670943)
Borderou de evaluare (job #2670943)
Raport evaluator
Compilare:
main.cpp: In function 'void addTrie(trie*, char*, int)':
main.cpp:19:14: warning: NULL used in arithmetic [-Wpointer-arith]
if(*s == NULL)
^~~~
main.cpp: In function 'int main()':
main.cpp:51:16: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null]
s[n] = NULL;
^~~~
main.cpp:60:16: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null]
s[n] = NULL;
^~~~
main.cpp:44:15: warning: unused variable 'k' [-Wunused-variable]
int i, j, k, n;
^
main.cpp:42: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);
^
main.cpp:43: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);
^
main.cpp:46:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &na);
^
main.cpp:49:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n", s);
^
main.cpp:55:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &nb);
^
main.cpp:58:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n", s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 262kb | OK | 10 |
3 | 3ms | 393kb | OK | 10 |
4 | 5ms | 1179kb | Killed by Signal 11 | 0 |
5 | 9ms | 2490kb | Killed by Signal 11 | 0 |
6 | 10ms | 2752kb | OK | 10 |
7 | 27ms | 9830kb | Killed by Signal 11 | 0 |
8 | 24ms | 10092kb | Killed by Signal 11 | 0 |
9 | 32ms | 10092kb | Killed by Signal 11 | 0 |
10 | 24ms | 9699kb | Killed by Signal 11 | 0 |
Punctaj total | 40 |