Borderou de evaluare (job #1524085)

Utilizator SmarandaMaria Pandele Smaranda Data 13 noiembrie 2015 15:53:22
Problema Pirati Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void myfill(int, int)': main.cpp:21:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (xn >= 0 && xn < n && yn >= 0 && yn < m) ^ main.cpp: In function 'int main()': main.cpp:54:28: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[1002]' [-Wformat=] scanf ("%s", &H [i]); ^ main.cpp:49:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("pirati.in", "r", stdin); ^ main.cpp:50:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("pirati.out", "w", stdout); ^ main.cpp:52:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d%d\n", &n, &m, &q); ^ main.cpp:54:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%s", &H [i]); ^ main.cpp:66:47: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d%d%d", &xs, &ys, &xf, &yf); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
125ms12582kbOK!8
234ms13238kbOK!10
364ms16506kbOK!10
4130ms22278kbOK!10
5316ms41254kbOK!10
6342ms43089kbOK!10
7342ms45309kbOK!10
8386ms48451kbOK!10
9388ms49500kbOK!10
10387ms48848kbOK!10
1127ms12189kbOK!1
1228ms12189kbOK!1
Punctaj total100

Ceva nu functioneaza?