Borderou de evaluare (job #2278833)

Utilizator AndreiVisoiuAndrei Visoiu AndreiVisoiu Data 8 noiembrie 2018 16:51:00
Problema Zimeria Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 55

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:40:23: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[6]' [-Wformat=] scanf("%s", &s); ^ main.cpp:29: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); ^ main.cpp:30: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); ^ main.cpp:35:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%i %i", &p, &n); ^ main.cpp:36:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", a); ^ main.cpp:40:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK5
24ms262kbOK5
3121ms4063kbOK5
4246ms7208kbOK5
5270ms8208kbMemory limit exceeded0
6280ms8204kbMemory limit exceeded0
72ms131kbOK5
85ms262kbOK5
98ms262kbOK5
1019ms524kbOK5
1139ms1048kbOK5
1281ms1835kbOK5
13153ms3538kbOK5
14300ms6422kbTime limit exceeded0
15303ms7340kbTime limit exceeded0
16281ms8208kbMemory limit exceeded0
17275ms8208kbMemory limit exceeded0
18279ms8208kbMemory limit exceeded0
19271ms8208kbMemory limit exceeded0
20247ms8208kbMemory limit exceeded0
Punctaj total55

Ceva nu functioneaza?