Borderou de evaluare (job #1729127)

Utilizator GabiTulbaGabi Tulba-Lecu GabiTulba Data 14 iulie 2016 12:03:11
Problema Dif2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:46:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d",&P,&N); ^ user.cpp:46:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:51:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&v[i]); ^ user.cpp:61:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d",&P1,&P2); ^ user.cpp:61:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:64:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&v[i]); ^ user.cpp: In function ‘long long int Find(int)’: user.cpp:41:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:44:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dif2.in","r",stdin); ^ user.cpp:45:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dif2.out","w",stdout); ^ user.cpp:46:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&P,&N); ^ user.cpp:51:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[i]); ^ user.cpp:61:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&P1,&P2); ^ user.cpp:64:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
172ms2492kbOK5
260ms2092kbOK5
340ms1544kbOK5
444ms1564kbOK5
560ms2064kbOK5
60ms268kbIncorect0
70ms268kbIncorect0
8456ms540kbIncorect0
9Depăşit584kbTime limit exceeded.0
10Depăşit328kbTime limit exceeded.0
11608ms616kbIncorect0
12Depăşit516kbTime limit exceeded.0
13Depăşit568kbTime limit exceeded.0
14Depăşit1864kbTime limit exceeded.0
15Depăşit2480kbTime limit exceeded.0
16Depăşit1656kbTime limit exceeded.0
17Depăşit2424kbTime limit exceeded.0
18Depăşit2144kbTime limit exceeded.0
19Depăşit1632kbTime limit exceeded.0
2028ms1044kbOK5
Punctaj total30

Ceva nu functioneaza?