Borderou de evaluare (job #1654374)

Utilizator badea_adi1999Badea Adrian Catalin badea_adi1999 Data 16 martie 2016 23:24:03
Problema Rox Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:18:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d %d %d %d %c\n",&l1[i],&c1[i],&l2[i],&c2[i],&t[i]); ^ user.cpp:18:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:18:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:18:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:18:67: warning: format ‘%c’ expects argument of type ‘char*’, but argument 6 has type ‘int*’ [-Wformat=] user.cpp:14: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:15: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:16:31: 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:18:68: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d %c\n",&l1[i],&c1[i],&l2[i],&c2[i],&t[i]); ^ user.cpp:36:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&q); ^ user.cpp:38:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&l,&c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
148msDepăşitMemory limit exceeded.0
248msDepăşitMemory limit exceeded.0
352ms628kbIncorect0
456ms760kbIncorect0
544ms808kbIncorect0
656ms1064kbIncorect0
752ms1036kbIncorect0
856ms924kbIncorect0
940msDepăşitMemory limit exceeded.0
1084msDepăşitMemory limit exceeded.0
1144msDepăşitMemory limit exceeded.0
1288msDepăşitMemory limit exceeded.0
1392msDepăşitMemory limit exceeded.0
1488msDepăşitMemory limit exceeded.0
1584msDepăşitMemory limit exceeded.0
1684msDepăşitMemory limit exceeded.0
1788msDepăşitMemory limit exceeded.0
1884msDepăşitMemory limit exceeded.0
1984msDepăşitMemory limit exceeded.0
2084msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?