Borderou de evaluare (job #2243361)

Utilizator LucaSeriSeritan Luca LucaSeri Data 20 septembrie 2018 12:49:47
Problema Adapost 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:31:71: warning: format ‘%f’ expects argument of type ‘float*’, but argument 2 has type ‘double*’ [-Wformat=] for(int i = 0; i < n; ++i) scanf("%f%f", &p[i].first, &p[i].second); ^ user.cpp:31:71: warning: format ‘%f’ expects argument of type ‘float*’, but argument 3 has type ‘double*’ [-Wformat=] user.cpp:26:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("adapost2.in", "r", stdin); ^ user.cpp:27:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("adapost2.out", "w", stdout); ^ user.cpp:30:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:31:72: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i = 0; i < n; ++i) scanf("%f%f", &p[i].first, &p[i].second); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1328kbRaspuns complet gresit!0
20ms1320kbRaspuns complet gresit!0
30ms1320kbRaspuns complet gresit!0
40ms1320kbRaspuns complet gresit!0
50ms1324kbRaspuns complet gresit!0
60ms1320kbRaspuns complet gresit!0
74ms1320kbRaspuns complet gresit!0
812ms1328kbRaspuns complet gresit!0
916ms1328kbRaspuns complet gresit!0
1020ms1328kbRaspuns complet gresit!0
1124ms1328kbRaspuns complet gresit!0
1232ms1332kbRaspuns complet gresit!0
1392ms1368kbRaspuns complet gresit!0
14140ms1388kbRaspuns complet gresit!0
15Depăşit1664kbTime limit exceeded.0
16Depăşit1552kbTime limit exceeded.0
17Depăşit1860kbTime limit exceeded.0
18Depăşit1944kbTime limit exceeded.0
19Depăşit2096kbTime limit exceeded.0
20Depăşit2096kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?