Pagini recente » Borderou de evaluare (job #419030) | Borderou de evaluare (job #2560243) | Borderou de evaluare (job #1111964) | Borderou de evaluare (job #436903) | Borderou de evaluare (job #1886709)
Borderou de evaluare (job #1886709)
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:35:28: warning: NULL used in arithmetic [-Wpointer-arith]
for(int i = 0; v[i] != NULL; i++)
^
user.cpp:38:18: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
v[i + 1] = NULL;
^
user.cpp: In function ‘int main()’:
user.cpp:65:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j;
^
user.cpp:66: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:67: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:68:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &na);
^
user.cpp:71:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", sir);
^
user.cpp:74:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nb);
^
user.cpp:77: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 | 368kb | OK | 10 |
| 2 | 0ms | 1120kb | OK | 10 |
| 3 | 16ms | 4752kb | OK | 10 |
| 4 | 188ms | 29048kb | OK | 10 |
| 5 | Depăşit | 19768kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 16996kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 7224kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 4720kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 4720kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 6568kb | Time limit exceeded. | 0 |
| Punctaj total | 40 |