Borderou de evaluare (job #2303750)

Utilizator usureluflorianUsurelu Florian-Robert usureluflorian Data 16 decembrie 2018 20:42:33
Problema Qmatrix Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:36:38: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=] scanf("%d %d %d %d\n",&n,&x,&y,&q); ^ main.cpp:36:38: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=] main.cpp:36:38: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'short int*' [-Wformat=] main.cpp:36:38: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'short int*' [-Wformat=] main.cpp:40:36: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=] scanf("%c %d %d\n",&c,&k,&t); ^ main.cpp:40:36: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'short int*' [-Wformat=] main.cpp:34:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("qmatrix.in","r",stdin); ^ main.cpp:35:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("qmatrix.out","w",stdout); ^ main.cpp:36:39: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d\n",&n,&x,&y,&q); ^ main.cpp:40:37: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%c %d %d\n",&c,&k,&t); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbIncorect0
22ms131kbIncorect0
32ms131kbIncorect0
42ms131kbIncorect0
52ms131kbIncorect0
62ms131kbIncorect0
72ms131kbIncorect0
82ms131kbIncorect0
92ms131kbIncorect0
102ms131kbIncorect0
Punctaj total0

Ceva nu functioneaza?