Pagini recente » Borderou de evaluare (job #324976) | Borderou de evaluare (job #868953) | Borderou de evaluare (job #2771892) | Borderou de evaluare (job #1492069) | Borderou de evaluare (job #1670186)
Borderou de evaluare (job #1670186)
Raport evaluator
Compilare:
user.cpp: In function ‘int cautaGheizer(int, int, int)’:
user.cpp:107:48: warning: narrowing conversion of ‘x’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
else if(cmpCoordonate((Coordonate){x, y}, (Coordonate){gheizere[mij].x, gheizere[mij].y}) <= 0)
^
user.cpp:107:48: warning: narrowing conversion of ‘y’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
user.cpp: In function ‘int cmpGheizere(Gheizer, Gheizer)’:
user.cpp:115:39: warning: narrowing conversion of ‘(((int)g1.Gheizer::x) - ((int)g1.Gheizer::raza))’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
Coordonate c1 = (Coordonate){g1.x - g1.raza, g1.y + g1.raza};
^
user.cpp:115:55: warning: narrowing conversion of ‘(((int)g1.Gheizer::y) + ((int)g1.Gheizer::raza))’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
Coordonate c1 = (Coordonate){g1.x - g1.raza, g1.y + g1.raza};
^
user.cpp:116:39: warning: narrowing conversion of ‘(((int)g2.Gheizer::x) - ((int)g2.Gheizer::raza))’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
Coordonate c2 = (Coordonate){g2.x - g2.raza, g2.y + g2.raza};
^
user.cpp:116:55: warning: narrowing conversion of ‘(((int)g2.Gheizer::y) + ((int)g2.Gheizer::raza))’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
Coordonate c2 = (Coordonate){g2.x - g2.raza, g2.y + g2.raza};
^
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 | 556kb | Incorect | 0 |
3 | 8ms | 580kb | OK | 10 |
4 | 0ms | 484kb | Incorect | 0 |
5 | 4ms | 556kb | Incorect | 0 | 0 |
6 | 8ms | 552kb | Incorect | 0 |
7 | 8ms | 544kb | OK | 10 |
8 | 12ms | 580kb | OK | 10 | 30 |
9 | 12ms | 576kb | OK | 10 |
10 | 12ms | 580kb | OK | 10 |
Punctaj total | 30 |