Pagini recente » Borderou de evaluare (job #1265191) | Borderou de evaluare (job #1249847) | Borderou de evaluare (job #483376) | Borderou de evaluare (job #492815) | Borderou de evaluare (job #1626282)
Borderou de evaluare (job #1626282)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35: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:35:95: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:35:95: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=]
user.cpp:35:95: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=]
user.cpp:35:95: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘short int*’ [-Wformat=]
user.cpp:32: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:33: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:35: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 | 460kb | Incorect | 0 | 0 |
2 | 180ms | 596kb | Incorect | 0 |
3 | 0ms | 460kb | Incorect | 0 |
4 | 4ms | 492kb | Incorect | 0 |
5 | 68ms | 560kb | Incorect | 0 | 0 |
6 | 132ms | 600kb | Incorect | 0 |
7 | 120ms | 600kb | Incorect | 0 |
8 | 164ms | 584kb | Incorect | 0 | 0 |
9 | 180ms | 588kb | Incorect | 0 |
10 | 180ms | 580kb | Incorect | 0 |
Punctaj total | 0 |