Pagini recente » Borderou de evaluare (job #508101) | Borderou de evaluare (job #1323560) | Borderou de evaluare (job #1752358) | Borderou de evaluare (job #783393) | Borderou de evaluare (job #1627018)
Borderou de evaluare (job #1627018)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:34:95: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(fin, "%d%d%d%d%d", &g[i].x, &g[i].y, &g[i].raza, &g[i].asteptare, &g[i].eruptie);
^
user.cpp:34:95: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:34:95: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=]
user.cpp:34:95: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=]
user.cpp:34:95: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘short int*’ [-Wformat=]
user.cpp:31:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d%d", &n, &m, &p);
^
user.cpp:32:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &st, &fi);
^
user.cpp:34:96: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d%d%d%d", &g[i].x, &g[i].y, &g[i].raza, &g[i].asteptare, &g[i].eruptie);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 452kb | Incorect | 0 | 0 |
2 | 144ms | 548kb | Incorect | 0 |
3 | 0ms | 448kb | Incorect | 0 |
4 | 4ms | 476kb | Incorect | 0 |
5 | 68ms | 548kb | Incorect | 0 | 0 |
6 | 116ms | 552kb | Incorect | 0 |
7 | 88ms | 540kb | Incorect | 0 |
8 | 164ms | 572kb | OK | 10 | 0 |
9 | 180ms | 568kb | Incorect | 0 |
10 | 180ms | 576kb | OK | 10 |
Punctaj total | 0 |