Pagini recente » Borderou de evaluare (job #1737600) | Borderou de evaluare (job #1114855) | Borderou de evaluare (job #1242564) | Borderou de evaluare (job #2356863) | Borderou de evaluare (job #1206061)
Borderou de evaluare (job #1206061)
Raport evaluator
Compilare:
user.cpp: In member function ‘void GAY::read()’:
user.cpp:20:29: warning: NULL used in arithmetic [-Wpointer-arith]
for(i = 0; ln[i] != NULL; ++ i)
^
user.cpp:26:28: warning: NULL used in arithmetic [-Wpointer-arith]
for(++ i; ln[i] != NULL; ++ i)
^
user.cpp:32:28: warning: NULL used in arithmetic [-Wpointer-arith]
for(++ i; ln[i] != NULL; ++ i)
^
user.cpp:38:28: warning: NULL used in arithmetic [-Wpointer-arith]
for(++ i; ln[i] != NULL; ++ i)
^
user.cpp:44:28: warning: NULL used in arithmetic [-Wpointer-arith]
for(++ i; ln[i] != NULL; ++ i)
^
user.cpp: In function ‘int main()’:
user.cpp:59:24: warning: unused variable ‘dir’ [-Wunused-variable]
int v, e, i, j, k, dir, newi, newj, now, t, ant;
^
user.cpp:59:29: warning: unused variable ‘newi’ [-Wunused-variable]
int v, e, i, j, k, dir, newi, newj, now, t, ant;
^
user.cpp:59:35: warning: unused variable ‘newj’ [-Wunused-variable]
int v, e, i, j, k, dir, newi, newj, now, t, ant;
^
user.cpp:57:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gheizere.in", "r", stdin);
^
user.cpp:58:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gheizere.out", "w", stdout);
^
user.cpp:61:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d\n", &n, &m, &p, &v, &e);
^
user.cpp: In member function ‘void GAY::read()’:
user.cpp:18:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(ln);
^
/tmp/cciCbKme.o: In function `main':
user.cpp:(.text.startup+0xba): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 408kb | OK | 10 | 40 |
2 | 628ms | 420kb | OK | 10 |
3 | 280ms | 420kb | OK | 10 |
4 | 28ms | 416kb | OK | 10 |
5 | 172ms | 416kb | OK | 10 | 30 |
6 | 444ms | 416kb | OK | 10 |
7 | 300ms | 424kb | OK | 10 |
8 | 392ms | 420kb | OK | 10 | 30 |
9 | 392ms | 420kb | OK | 10 |
10 | 308ms | 420kb | OK | 10 |
Punctaj total | 100 |