Pagini recente » Borderou de evaluare (job #1193118) | Borderou de evaluare (job #3183268) | Borderou de evaluare (job #1633982) | Borderou de evaluare (job #1866362) | Borderou de evaluare (job #557993)
Borderou de evaluare (job #557993)
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void write()’:
user.cpp:6:13: error: ‘SHRT_MAX’ was not declared in this scope
#define inf SHRT_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: ‘SHRT_MAX’ was not declared in this scope
#define inf SHRT_MAX
^
user.cpp:51:17: note: in expansion of macro ‘inf’
Tmin[i][j] = inf;
^
user.cpp: In function ‘void solve()’:
user.cpp:57:47: warning: statement has no effect [-Wunused-value]
cfg.x = 1; cfg.c = nc; Q.push(cfg); inC[1][nc];
^
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("%hd %hd %hd", &nc, &n, &k);
^
user.cpp:23:59: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(FIN,"r",stdin); scanf("%hd %hd %hd", &nc, &n, &k);
^
user.cpp:25:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd %hd", &T[i], &C[i]);
^
user.cpp:28:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd %hd", &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 | 12kb | OK | 10 |
2 | 0ms | 8kb | OK | 10 |
3 | 4ms | 12kb | OK | 10 |
4 | 4ms | 416kb | OK | 10 |
5 | 4ms | 12kb | OK | 10 |
6 | 8ms | 424kb | OK | 10 |
7 | 24ms | 444kb | OK | 10 |
8 | 28ms | 448kb | OK | 10 |
9 | 100ms | 516kb | OK | 10 |
10 | Depăşit | 548kb | Time limit exceeded. | 0 |
Punctaj total | 0 |