Borderou de evaluare (job #1681689)

Utilizator bob123bobelus bob bob123 Data 9 aprilie 2016 17:28:20
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: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
10ms316kbOK10
20ms440kbOK10
3240ms13272kbKilled by signal 11(SIGSEGV).0
48ms604kbOK10
548ms1296kbOK10
6212ms3084kbOK10
7236ms3380kbOK10
860ms1796kbOK10
9192ms2820kbOK10
10240ms13188kbOK10
Punctaj total90

Ceva nu functioneaza?