Pagini recente » Borderou de evaluare (job #1142927) | Borderou de evaluare (job #1894444) | Borderou de evaluare (job #177796) | Borderou de evaluare (job #179255) | Borderou de evaluare (job #1887501)
Borderou de evaluare (job #1887501)
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:40:18: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
v[i + 1] = NULL;
^
user.cpp: In function ‘int main()’:
user.cpp:67:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j;
^
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:70:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &na);
^
user.cpp:73:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", sir);
^
user.cpp:76:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nb);
^
user.cpp:79: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 | 364kb | Incorect | 0 |
2 | 0ms | 1124kb | Incorect | 0 |
3 | 16ms | 4756kb | Incorect | 0 |
4 | 184ms | 29048kb | Incorect | 0 |
5 | Depăşit | 20820kb | Time limit exceeded. | 0 |
6 | Depăşit | 17260kb | Time limit exceeded. | 0 |
7 | Depăşit | 7360kb | Time limit exceeded. | 0 |
8 | Depăşit | 4848kb | Time limit exceeded. | 0 |
9 | Depăşit | 4720kb | Time limit exceeded. | 0 |
10 | Depăşit | 6300kb | Time limit exceeded. | 0 |
Punctaj total | 0 |