Borderou de evaluare (job #1286105)

Utilizator lianaliana tucar liana Data 7 decembrie 2014 12:06:01
Problema Disconnect Status done
Runda Algoritmiada 2015 - Runda 1, Seniori Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:15:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld",&n,&m); ^ user.cpp:15:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:18:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld",&a,&b); ^ user.cpp:18:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp: In function ‘void rezolvare()’: user.cpp:113:41: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld %ld",&type, &x,&y); ^ user.cpp:113:41: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:113:41: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp: In function ‘void citire()’: user.cpp:15:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld",&n,&m); ^ user.cpp:18:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld",&a,&b); ^ user.cpp: In function ‘void rezolvare()’: user.cpp:113:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld %ld",&type, &x,&y); ^ user.cpp: In function ‘int main()’: user.cpp:134:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("disconnect.in","r",stdin); ^ user.cpp:135:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("disconnect.out","w",stdout); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1432kbOK10
2Depăşit1472kbTime limit exceeded.0
3Depăşit1588kbTime limit exceeded.0
4Depăşit1756kbTime limit exceeded.0
5Depăşit3800kbTime limit exceeded.0
6Depăşit4100kbTime limit exceeded.0
7384ms4264kbOK10
8Depăşit4564kbTime limit exceeded.0
9Depăşit4560kbTime limit exceeded.0
10Depăşit4556kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?