Borderou de evaluare (job #1729170)

Utilizator GabiTulbaGabi Tulba-Lecu GabiTulba Data 14 iulie 2016 13:05:22
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:41: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:41:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:46:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&v[i]); ^ user.cpp:59: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(long long int)’: user.cpp:36:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:39: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:40: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:41: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:46:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[i]); ^ user.cpp:56:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld",&P1,&P2); ^ user.cpp:59: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
180ms2512kbOK5
264ms2100kbOK5
352ms1560kbOK5
444ms1572kbOK5
560ms2072kbOK5
60ms276kbOK5
70ms284kbOK5
8188ms560kbOK5
9248ms628kbOK5
1056ms368kbOK5
11264ms632kbOK5
12184ms552kbOK5
13236ms612kbOK5
14Depăşit1868kbTime limit exceeded.0
15Depăşit2492kbTime limit exceeded.0
16Depăşit1672kbTime limit exceeded.0
17Depăşit2440kbTime limit exceeded.0
18Depăşit2156kbTime limit exceeded.0
19Depăşit1648kbTime limit exceeded.0
2024ms1056kbOK5
Punctaj total70

Ceva nu functioneaza?