Borderou de evaluare (job #1212808)

Utilizator smaraldaSmaranda Dinu smaralda Data 25 iulie 2014 23:49:01
Problema Zimeria Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:50:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[13]’ [-Wformat=] scanf("%s", &aux); ^ user.cpp:37:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("zimeria.in", "r", stdin); ^ user.cpp:38:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("zimeria.out", "w", stdout); ^ user.cpp:42:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n", &p, &n); ^ user.cpp:44:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &ch); ^ user.cpp:48:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("\n"); ^ user.cpp:50:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &aux); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms280kbOK5
212ms284kbOK5
3Depăşit400kbTime limit exceeded.0
4Depăşit412kbTime limit exceeded.0
5Depăşit404kbTime limit exceeded.0
6Depăşit412kbTime limit exceeded.0
70ms272kbIncorect0
812ms284kbIncorect0
924ms284kbIncorect0
1064ms296kbIncorect0
11128ms320kbIncorect0
12256ms356kbIncorect0
13Depăşit400kbTime limit exceeded.0
14Depăşit408kbTime limit exceeded.0
15Depăşit400kbTime limit exceeded.0
16Depăşit396kbTime limit exceeded.0
17Depăşit408kbTime limit exceeded.0
18Depăşit396kbTime limit exceeded.0
19Depăşit396kbTime limit exceeded.0
20Depăşit404kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?