Pagini recente » Borderou de evaluare (job #865822) | Borderou de evaluare (job #2060200) | Borderou de evaluare (job #1830315) | Borderou de evaluare (job #249497) | Borderou de evaluare (job #1206052)
Borderou de evaluare (job #1206052)
Raport evaluator
Compilare:
user.cpp: In member function ‘void GAY::read()’:
user.cpp:21:29: warning: NULL used in arithmetic [-Wpointer-arith]
for(i = 0; ln[i] != NULL; ++ i)
^
user.cpp:27:28: warning: NULL used in arithmetic [-Wpointer-arith]
for(++ i; ln[i] != NULL; ++ i)
^
user.cpp:33:28: warning: NULL used in arithmetic [-Wpointer-arith]
for(++ i; ln[i] != NULL; ++ i)
^
user.cpp:39:28: warning: NULL used in arithmetic [-Wpointer-arith]
for(++ i; ln[i] != NULL; ++ i)
^
user.cpp:45:28: warning: NULL used in arithmetic [-Wpointer-arith]
for(++ i; ln[i] != NULL; ++ i)
^
user.cpp: In function ‘int main()’:
user.cpp:77:24: warning: unused variable ‘dir’ [-Wunused-variable]
int v, e, i, j, k, dir, newi, newj, now, t, ant;
^
user.cpp:77:29: warning: unused variable ‘newi’ [-Wunused-variable]
int v, e, i, j, k, dir, newi, newj, now, t, ant;
^
user.cpp:77:35: warning: unused variable ‘newj’ [-Wunused-variable]
int v, e, i, j, k, dir, newi, newj, now, t, ant;
^
user.cpp:75: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:76: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:79: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:19:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(ln);
^
/tmp/ccmttO2C.o: In function `main':
user.cpp:(.text.startup+0xb3): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 1176kb | OK | 10 | 40 |
2 | 564ms | 1756kb | OK | 10 |
3 | 308ms | 1524kb | OK | 10 |
4 | 20ms | 1264kb | OK | 10 |
5 | 120ms | 1512kb | OK | 10 | 30 |
6 | 592ms | 1572kb | OK | 10 |
7 | 476ms | 1444kb | OK | 10 |
8 | 696ms | 1400kb | OK | 10 | 0 |
9 | Depăşit | 1412kb | Time limit exceeded. | 0 |
10 | 536ms | 1428kb | OK | 10 |
Punctaj total | 70 |