Borderou de evaluare (job #1729144)

Utilizator GabiTulbaGabi Tulba-Lecu GabiTulba Data 14 iulie 2016 12:33:44
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:40: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:40:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:45:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&v[i]); ^ user.cpp:55: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:55:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:58: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:35:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:38: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:39: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:40: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:45:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[i]); ^ user.cpp:55: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:58: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
180ms2500kbOK5
268ms2100kbOK5
344ms1556kbOK5
444ms1568kbOK5
564ms2060kbOK5
60ms272kbOK5
70ms272kbOK5
8180ms556kbOK5
9232ms616kbOK5
1052ms360kbOK5
11248ms632kbOK5
12172ms548kbOK5
13224ms596kbOK5
14Depăşit1860kbTime limit exceeded.0
15Depăşit2484kbTime limit exceeded.0
16Depăşit1672kbTime limit exceeded.0
17Depăşit2432kbTime limit exceeded.0
18Depăşit2152kbTime limit exceeded.0
19Depăşit1636kbTime limit exceeded.0
2024ms1044kbOK5
Punctaj total70

Ceva nu functioneaza?