Pagini recente » Borderou de evaluare (job #763723) | Borderou de evaluare (job #771312) | Borderou de evaluare (job #942212) | Borderou de evaluare (job #139680) | Borderou de evaluare (job #1626258)
Borderou de evaluare (job #1626258)
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 | 468kb | Incorect | 0 | 0 |
2 | 192ms | 724kb | Incorect | 0 |
3 | 0ms | 696kb | Incorect | 0 |
4 | 4ms | 520kb | Incorect | 0 |
5 | 68ms | 664kb | Incorect | 0 | 0 |
6 | 152ms | 724kb | Incorect | 0 |
7 | 40ms | 860kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 160ms | 704kb | OK | 10 | 0 |
9 | 180ms | 708kb | Incorect | 0 |
10 | 180ms | 704kb | OK | 10 |
Punctaj total | 0 |