Pagini recente » Borderou de evaluare (job #828021) | Borderou de evaluare (job #586046) | Borderou de evaluare (job #1418545) | Borderou de evaluare (job #432282) | Borderou de evaluare (job #1626267)
Borderou de evaluare (job #1626267)
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 | 464kb | Incorect | 0 | 0 |
2 | 188ms | 604kb | Incorect | 0 |
3 | 0ms | 460kb | Incorect | 0 |
4 | 4ms | 484kb | Incorect | 0 |
5 | 68ms | 560kb | Incorect | 0 | 0 |
6 | 132ms | 600kb | Incorect | 0 |
7 | 108ms | 600kb | Incorect | 0 |
8 | 164ms | 588kb | OK | 10 | 0 |
9 | 180ms | 584kb | Incorect | 0 |
10 | 180ms | 584kb | OK | 10 |
Punctaj total | 0 |