Borderou de evaluare (job #1729140)

Utilizator GabiTulbaGabi Tulba-Lecu GabiTulba Data 14 iulie 2016 12:24:15
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: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
184ms2488kbOK5
260ms2092kbOK5
348ms1548kbOK5
444ms1564kbOK5
568ms2060kbOK5
60ms264kbOK5
70ms260kbOK5
8444ms544kbOK5
9580ms604kbOK5
10120ms356kbOK5
11616ms620kbOK5
12424ms540kbOK5
13540ms592kbOK5
14Depăşit1860kbTime limit exceeded.0
15Depăşit2472kbTime limit exceeded.0
16Depăşit1660kbTime limit exceeded.0
17Depăşit2420kbTime limit exceeded.0
18Depăşit2144kbTime limit exceeded.0
19Depăşit1636kbTime limit exceeded.0
2024ms1040kbOK5
Punctaj total70

Ceva nu functioneaza?