Pagini recente » Borderou de evaluare (job #2037823) | Borderou de evaluare (job #1438586)
Borderou de evaluare (job #1438586)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:5:28: warning: integer overflow in expression [-Woverflow]
#define UNEXPLORED (1<<31)-1
^
user.cpp:63:12: note: in expansion of macro ‘UNEXPLORED’
d[i][j]=UNEXPLORED, scanf("%c \n", forest[i]+j);
^
user.cpp:56:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("padure.in", "r", stdin);
^
user.cpp:57:92: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d %d %d\n", &n, &m, &start.line, &start.column, &stop.line, &stop.column);
^
user.cpp:63:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
d[i][j]=UNEXPLORED, scanf("%c \n", forest[i]+j);
^
user.cpp: In function ‘void write()’:
user.cpp:70:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("padure.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 344kb | OK | 10 |
2 | 0ms | 388kb | OK | 10 |
3 | 0ms | 632kb | Incorect | 0 |
4 | 0ms | 876kb | OK | 10 |
5 | 0ms | 884kb | Incorect | 0 |
6 | 20ms | 2068kb | Incorect | 0 |
7 | 60ms | 3264kb | Incorect | 0 |
8 | 140ms | 4444kb | Incorect | 0 |
9 | 328ms | 6248kb | Incorect | 0 |
10 | 252ms | 6240kb | OK | 10 |
Punctaj total | 40 |