Borderou de evaluare (job #1560768)

Utilizator ipus1Stefan Enescu ipus1 Data 3 ianuarie 2016 11:57:26
Problema Bifo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void f()’: user.cpp:33:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&x); ^ user.cpp:32:20: warning: unused variable ‘b2’ [-Wunused-variable] {long long a,b,b2,i,ppp,k,c; ^ user.cpp: In function ‘int main()’: user.cpp:68:14: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&k); ^ user.cpp: In function ‘void f()’: user.cpp:33:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x); ^ user.cpp: In function ‘int main()’: user.cpp:59:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] {freopen ("bifo.in","r",stdin); ^ user.cpp:60:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("bifo.out","w",stdout); ^ user.cpp:63:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&v[i]); ^ user.cpp:66:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&v2[i]); ^ user.cpp:68:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit268kbTime limit exceeded.0
2Depăşit272kbTime limit exceeded.0
3Depăşit264kbTime limit exceeded.0
4Depăşit268kbTime limit exceeded.0
5Depăşit268kbTime limit exceeded.0
6Depăşit268kbTime limit exceeded.0
7Depăşit260kbTime limit exceeded.0
8Depăşit244kbTime limit exceeded.0
9Depăşit264kbTime limit exceeded.0
10Depăşit272kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?