Borderou de evaluare (job #1681692)

Utilizator bob123bobelus bob bob123 Data 9 aprilie 2016 17:30:16
Problema Tsunami Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘void Fill()’: user.cpp:15:36: warning: operation on ‘q’ may be undefined [-Wsequence-point] l[++q]=l[q-1]+dx[k];c[q]=c[q-1]+dy[k]; ^ user.cpp: In function ‘int main()’: user.cpp:26:34: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 4 has type ‘int*’ [-Wformat=] scanf("%hd%hd%hd", &n, &m, &v); ^ user.cpp:24:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tsunami.in", "r", stdin); ^ user.cpp:25:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tsunami.out", "w", stdout); ^ user.cpp:26:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hd%hd%hd", &n, &m, &v); ^ user.cpp:29:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hd", &a[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms320kbOK10
20ms448kbOK10
3236ms13260kbKilled by signal 11(SIGSEGV).0
48ms604kbOK10
548ms1300kbOK10
6200ms3088kbOK10
7236ms3384kbOK10
860ms1796kbOK10
9200ms2828kbOK10
10236ms13192kbOK10
Punctaj total90

Ceva nu functioneaza?