Borderou de evaluare (job #1397112)

Utilizator atatomirTatomir Alex atatomir Data 23 martie 2015 11:47:33
Problema Tri2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:81:42: warning: use of ‘ll’ length modifier with ‘f’ type character [-Wformat=] scanf("%llf %llf",&p[i].x,&p[i].y); ^ user.cpp:81:42: warning: use of ‘ll’ length modifier with ‘f’ type character [-Wformat=] user.cpp:75:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tri2.in","r",stdin); ^ user.cpp:76:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tri2.out","w",stdout); ^ user.cpp:79:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&n); ^ user.cpp:81:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%llf %llf",&p[i].x,&p[i].y); ^ user.cpp:110:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&q); ^ user.cpp:112:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld %ld",&p1,&p2,&p3); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms724kbIncorect0
2248ms8540kbOK10
38ms1284kbIncorect0
4824ms8536kbIncorect0
5832ms8540kbIncorect0
6188ms1284kbIncorect0
7368ms8540kbIncorect0
8220ms4520kbIncorect0
9420ms8532kbIncorect0
10416ms8436kbIncorect0
Punctaj total10

Ceva nu functioneaza?