Borderou de evaluare (job #1275199)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:47:33: warning: format ‘%c’ expects argument of type ‘char*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%c", &a[i][j]); ^ user.cpp:42: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:43: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:44: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:47: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:45: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
1Depăşit284kbTime limit exceeded.0
20ms280kbOK!10
3Depăşit288kbTime limit exceeded.0
4Depăşit512kbTime limit exceeded.0
5Depăşit372kbTime limit exceeded.0
6Depăşit804kbTime limit exceeded.0
7Depăşit396kbTime limit exceeded.0
8Depăşit380kbTime limit exceeded.0
9Depăşit328kbTime limit exceeded.0
10Depăşit472kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?