Pagini recente » Borderou de evaluare (job #1382655) | Borderou de evaluare (job #194379) | Borderou de evaluare (job #2978317) | Borderou de evaluare (job #3153401) | Borderou de evaluare (job #1889410)
Borderou de evaluare (job #1889410)
Raport evaluator
Compilare:
user.cpp: In function ‘void adauga(Trie*, char*, int)’:
user.cpp:22:14: warning: NULL used in arithmetic [-Wpointer-arith]
if(*v == NULL) return;
^
user.cpp: In function ‘void stergb(Trie*, char*)’:
user.cpp:36:14: warning: NULL used in arithmetic [-Wpointer-arith]
if(*v == NULL) return;
^
user.cpp: In function ‘void adaugSira(char*, int)’:
user.cpp:46:28: warning: NULL used in arithmetic [-Wpointer-arith]
for(int i = 0; v[i] != NULL; i++)
^
user.cpp: In function ‘void stergSirb(char*)’:
user.cpp:54:28: warning: NULL used in arithmetic [-Wpointer-arith]
for(int i = 0; v[i] != NULL; i++)
^
user.cpp: In function ‘int main()’:
user.cpp:78: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:79: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:80:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &na);
^
user.cpp:83:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", sir);
^
user.cpp:86:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nb);
^
user.cpp:89: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 | 276kb | OK | 10 |
| 2 | 0ms | 324kb | OK | 10 |
| 3 | 0ms | 388kb | OK | 10 |
| 4 | 0ms | 800kb | OK | 10 |
| 5 | 4ms | 1448kb | OK | 10 |
| 6 | 4ms | 1548kb | OK | 10 |
| 7 | 16ms | 5044kb | OK | 10 |
| 8 | 16ms | 5128kb | OK | 10 |
| 9 | 20ms | 5168kb | OK | 10 |
| 10 | 16ms | 4964kb | OK | 10 |
| Punctaj total | 100 |