Borderou de evaluare (job #2243660)

Utilizator giotoPopescu Ioan gioto Data 21 septembrie 2018 09:54:09
Problema Studenti Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘long long int caz2()’: user.cpp:23:9: warning: variable ‘pg’ set but not used [-Wunused-but-set-variable] int pg = 0, ph = 0, Maxh = 0, Maxg = 0, g1 = 0, h1 = 0; ^~ user.cpp:23:17: warning: variable ‘ph’ set but not used [-Wunused-but-set-variable] int pg = 0, ph = 0, Maxh = 0, Maxg = 0, g1 = 0, h1 = 0; ^~ user.cpp: In function ‘int main()’: user.cpp:55:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d", Sol); ^ user.cpp:47:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("studenti.in", "r", stdin); ^ user.cpp:48:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("studenti.out", "w", stdout); ^ user.cpp:50:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:52:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &a[i].x, &a[i].y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms1320kbIncorect00
20ms1320kbIncorect00
30ms1320kbIncorect00
40ms1316kbIncorect00
50ms1316kbIncorect0
60ms1316kbIncorect0
828ms1320kbIncorect0
70ms1320kbIncorect00
960ms1320kbIncorect0
1064ms1316kbIncorect00
Punctaj total0

Ceva nu functioneaza?