Pagini recente » Borderou de evaluare (job #2310205) | Borderou de evaluare (job #507240) | Borderou de evaluare (job #1890646) | Borderou de evaluare (job #939418) | Borderou de evaluare (job #1670188)
Borderou de evaluare (job #1670188)
Raport evaluator
Compilare:
user.cpp: In function ‘void citesteGheizer(Gheizer&, FILE*)’:
user.cpp:158:75: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(f, "%hd%hd%hd%hd%hd", &g.x, &g.y, &g.raza, &g.pauza, &g.eruptie);
^
user.cpp:158:75: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:158:75: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 5 has type ‘int*’ [-Wformat=]
user.cpp:158:75: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 6 has type ‘int*’ [-Wformat=]
user.cpp:158:75: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 7 has type ‘int*’ [-Wformat=]
user.cpp: In function ‘int main()’:
user.cpp:40:52: 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", &n, &m, &k, &ls, &lf);
^
user.cpp: In function ‘void citesteGheizer(Gheizer&, FILE*)’:
user.cpp:158:76: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%hd%hd%hd%hd%hd", &g.x, &g.y, &g.raza, &g.pauza, &g.eruptie);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 448kb | Incorect | 0 | 0 |
| 2 | 8ms | 660kb | Incorect | 0 |
| 3 | 8ms | 708kb | OK | 10 |
| 4 | 0ms | 508kb | Incorect | 0 |
| 5 | 4ms | 656kb | Incorect | 0 | 0 |
| 6 | 8ms | 656kb | Incorect | 0 |
| 7 | 8ms | 632kb | OK | 10 |
| 8 | 12ms | 704kb | OK | 10 | 30 |
| 9 | 12ms | 704kb | OK | 10 |
| 10 | 12ms | 700kb | OK | 10 |
| Punctaj total | 30 |