Borderou de evaluare (job #1791704)

Utilizator stelian2000Stelian Chichirim stelian2000 Data 29 octombrie 2016 17:24:55
Problema Zlego Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:56:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n",rez[i]); ^ user.cpp:16:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("zlego.in","r",stdin); ^ user.cpp:17:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("zlego.out","w",stdout); ^ user.cpp:19:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t1); ^ user.cpp:22:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:26:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[i].val); ^ user.cpp:31:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&val[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms276kbOK5
20ms272kbOK5
30ms272kbOK5
40ms276kbOK5
516ms348kbOK5
616ms340kbOK5
752ms356kbOK5
832ms360kbOK5
968ms360kbOK5
1040ms388kbOK5
11Depăşit4160kbTime limit exceeded.0
12Depăşit4164kbTime limit exceeded.0
13Depăşit4156kbTime limit exceeded.0
14Depăşit4156kbTime limit exceeded.0
15Depăşit4152kbTime limit exceeded.0
16Depăşit4152kbTime limit exceeded.0
17Depăşit4156kbTime limit exceeded.0
18Depăşit4164kbTime limit exceeded.0
19Depăşit4164kbTime limit exceeded.0
20Depăşit4156kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?