Pagini recente » Borderou de evaluare (job #186748) | Borderou de evaluare (job #2209150) | Borderou de evaluare (job #373054) | Borderou de evaluare (job #3204753) | Borderou de evaluare (job #557981)
Borderou de evaluare (job #557981)
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void read()’:
user.cpp:23:55: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
freopen(FIN,"r",stdin); scanf("%d %d %d", &nc, &n, &k);
^
user.cpp:23:55: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:25:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d %d", &T[i], &C[i]);
^
user.cpp:25:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp: In function ‘void write()’:
user.cpp:6:13: error: ‘INT_MAX’ was not declared in this scope
#define inf INT_MAX
^
user.cpp:37:8: note: in expansion of macro ‘inf’
int m=inf;
^
user.cpp: In function ‘void init()’:
user.cpp:6:13: error: ‘INT_MAX’ was not declared in this scope
#define inf INT_MAX
^
user.cpp:51:17: note: in expansion of macro ‘inf’
Tmin[i][j] = inf;
^
user.cpp: In function ‘void read()’:
user.cpp:23:24: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(FIN,"r",stdin); scanf("%d %d %d", &nc, &n, &k);
^
user.cpp:23:56: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(FIN,"r",stdin); scanf("%d %d %d", &nc, &n, &k);
^
user.cpp:25:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &T[i], &C[i]);
^
user.cpp:28:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
user.cpp: In function ‘void write()’:
user.cpp:36:26: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(FOUT,"w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 8kb | Incorect | 0 |
2 | 4ms | 8kb | Incorect | 0 |
3 | 0ms | 8kb | Incorect | 0 |
4 | 4ms | 12kb | Incorect | 0 |
5 | 0ms | 8kb | Incorect | 0 |
6 | 0ms | 8kb | Incorect | 0 |
7 | 4ms | 12kb | Incorect | 0 |
8 | 4ms | 12kb | Incorect | 0 |
9 | 4ms | 12kb | Incorect | 0 |
10 | 20ms | 232kb | Incorect | 0 |
Punctaj total | 0 |