Borderou de evaluare (job #1729141)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:51: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:51:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:56:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&v[i]); ^ user.cpp:66: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:66:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:69: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:46:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:49: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:50: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:51: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:56:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[i]); ^ user.cpp:66: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:69: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
172ms2496kbOK5
268ms2092kbOK5
344ms1540kbOK5
444ms1560kbOK5
564ms2060kbOK5
60ms264kbOK5
70ms264kbOK5
8304ms544kbOK5
9400ms612kbOK5
1080ms352kbOK5
11440ms624kbOK5
12260ms544kbOK5
13332ms596kbOK5
14Depăşit1856kbTime limit exceeded.0
15Depăşit2476kbTime limit exceeded.0
16Depăşit1660kbTime limit exceeded.0
17Depăşit2428kbTime limit exceeded.0
18Depăşit2144kbTime limit exceeded.0
19Depăşit1628kbTime limit exceeded.0
2028ms1044kbOK5
Punctaj total70

Ceva nu functioneaza?