Borderou de evaluare (job #2377161)

Utilizator HoratioHoratiu Duma Horatio Data 8 martie 2019 22:32:11
Problema Tablou Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void citire()': main.cpp:19:13: warning: zero-length gnu_scanf format string [-Wformat-zero-length] scanf(""); ^ main.cpp: In function 'void afis()': main.cpp:37:35: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] printf("%d ",Mat[i][j]); ^ main.cpp: In function 'int main()': main.cpp:48:13: warning: zero-length gnu_scanf format string [-Wformat-zero-length] scanf(""); ^ main.cpp: In function 'void citire()': main.cpp:17:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n",&n,&m); ^ main.cpp:19:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf(""); ^ main.cpp:24:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&c); ^ main.cpp:28:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&c); ^ main.cpp: In function 'int main()': main.cpp:44:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("tablou.in","r",stdin); ^ main.cpp:45:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("tablou.out","w",stdout); ^ main.cpp:48:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf(""); ^ main.cpp:49:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&k); ^ main.cpp:55:55: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d %d\n",&x1,&y1,&x2,&y2,&cul); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
211ms1310kbOK10
311ms1310kbOK10
41170ms72220kbOK10
51235ms72220kbOK10
61166ms72220kbOK10
7322ms14811kbOK10
8341ms14811kbOK10
91361ms74973kbOK10
101454ms74973kbOK10
Punctaj total100

Ceva nu functioneaza?