Borderou de evaluare (job #1275212)

Utilizator paunmatei7FMI Paun Matei paunmatei7 Data 24 noiembrie 2014 21:10:24
Problema Insule Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:50:33: warning: format ‘%c’ expects argument of type ‘char*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%c", &a[i][j]); ^ user.cpp:45:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("insule.in", "r", stdin); ^ user.cpp:46:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("insule.out", "w", stdout); ^ user.cpp:47:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &n, &m); ^ user.cpp:50:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &a[i][j]); ^ user.cpp:48:5: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i = 1; i <= n; ++i, scanf("\n")) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms336kbOK!10
20ms284kbOK!10
34ms328kbOK!10
4Depăşit528kbTime limit exceeded.0
516ms412kbOK!10
648msDepăşitMemory limit exceeded.0
7Depăşit520kbTime limit exceeded.0
8Depăşit540kbTime limit exceeded.0
94ms360kbOK!10
10Depăşit648kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?