Pagini recente » Borderou de evaluare (job #1944597) | Borderou de evaluare (job #3040773) | Borderou de evaluare (job #646146) | Borderou de evaluare (job #504588) | Borderou de evaluare (job #1889381)
Borderou de evaluare (job #1889381)
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 adaugb(Trie*, char*, int)’:
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 adaugSirb(char*, int)’:
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:79: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:80: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:81:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &na);
^
user.cpp:84:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", sir);
^
user.cpp:87:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nb);
^
user.cpp:90: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 | 324kb | OK | 10 |
2 | 0ms | 732kb | OK | 10 |
3 | 4ms | 2740kb | OK | 10 |
4 | 28ms | 15988kb | OK | 10 |
5 | 168ms | 92956kb | OK | 10 |
6 | 96ms | 54436kb | OK | 10 |
7 | Depăşit | 122456kb | Time limit exceeded. | 0 |
8 | Depăşit | 122588kb | Time limit exceeded. | 0 |
9 | Depăşit | 121792kb | Time limit exceeded. | 0 |
10 | Depăşit | 121528kb | Time limit exceeded. | 0 |
Punctaj total | 60 |