Borderou de evaluare (job #1667391)

Utilizator RG1999one shot RG1999 Data 28 martie 2016 21:40:10
Problema Rox Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:10:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d%d",&n,&m,&u); ^ user.cpp:10:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:10:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:8:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rox.in","r",stdin); ^ user.cpp:9:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rox.out","w",stdout); ^ user.cpp:10:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&n,&m,&u); ^ user.cpp:13:60: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld%lld%lld%c%c",&l1,&c1,&l2,&c2,&c,&c); ^ user.cpp:18:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&c); ^ user.cpp:20:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&q); ^ user.cpp:23:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld",&l1,&c1); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112msDepăşitMemory limit exceeded.0
216msDepăşitMemory limit exceeded.0
368ms468kbOK5
4112ms540kbOK5
564ms568kbOK5
6108ms704kbOK5
796ms696kbOK5
880ms640kbOK5
9232msDepăşitMemory limit exceeded.0
10288ms3868kbOK5
1120msDepăşitMemory limit exceeded.0
128msDepăşitMemory limit exceeded.0
13420ms3872kbOK5
148msDepăşitMemory limit exceeded.0
1524msDepăşitMemory limit exceeded.0
168msDepăşitMemory limit exceeded.0
178msDepăşitMemory limit exceeded.0
1812msDepăşitMemory limit exceeded.0
1912msDepăşitMemory limit exceeded.0
2020msDepăşitMemory limit exceeded.0
Punctaj total40

Ceva nu functioneaza?