Borderou de evaluare (job #1887502)
Raport evaluator
Compilare:
user.cpp: In function ‘void adaug(Trie*, char*, int)’:
user.cpp:22:14: warning: NULL used in arithmetic [-Wpointer-arith]
if(*v == NULL) return;
^
user.cpp: In function ‘void adaugSir(Trie*, char*, int)’:
user.cpp:37:28: warning: NULL used in arithmetic [-Wpointer-arith]
for(int i = 0; v[i] != NULL; i++)
^
user.cpp:36:10: warning: unused variable ‘aux’ [-Wunused-variable]
char aux;
^
user.cpp: In function ‘int main()’:
user.cpp:61:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j;
^
user.cpp:62: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:63: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:64:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &na);
^
user.cpp:67:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", sir);
^
user.cpp:70:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nb);
^
user.cpp:73:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", sir);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 372kb | OK | 10 |
| 2 | 0ms | 1128kb | OK | 10 |
| 3 | 8ms | 4752kb | OK | 10 |
| 4 | 60ms | 29048kb | OK | 10 |
| 5 | Depăşit | 106488kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 103584kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 107544kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 108868kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 105564kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 109920kb | Time limit exceeded. | 0 |
| Punctaj total | 40 |