Borderou de evaluare (job #1268735)

Utilizator claudiu.gatinaFMI Claudiu Gatina claudiu.gatina Data 21 noiembrie 2014 13:10:54
Problema Statistici de ordine Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:40:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long unsigned int*’ [-Wformat=] scanf("%d ", &m[i]); ^ user.cpp:42:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] printf("%d", m[k]); ^ user.cpp:34:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sdo.in", "r", stdin); ^ user.cpp:35:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sdo.out", "w", stdout); ^ user.cpp:36:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d ", &n, &k); ^ user.cpp:40:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &m[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms256kbOK1010
232ms648kbIncorect00
320ms532kbIncorect00
424ms564kbIncorect00
548ms848kbIncorect00
696ms1400kbWall time limit exceeded.00
796ms1400kbWall time limit exceeded.00
896ms1404kbWall time limit exceeded.00
996ms1396kbWall time limit exceeded.0
1096ms1396kbWall time limit exceeded.0
Punctaj total10

Ceva nu functioneaza?