Borderou de evaluare (job #1397139)

Utilizator atatomirTatomir Alex atatomir Data 23 martie 2015 12:01:53
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
2248ms8536kbOK10
38ms1284kbIncorect0
4824ms8532kbIncorect0
5832ms8532kbIncorect0
6184ms1288kbIncorect0
7364ms8540kbIncorect0
8228ms4516kbIncorect0
9420ms8528kbIncorect0
10416ms8432kbIncorect0
Punctaj total10

Ceva nu functioneaza?