Borderou de evaluare (job #2321121)

Utilizator bogdi1bogdan bancuta bogdi1 Data 15 ianuarie 2019 18:42:15
Problema Sub Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:69:23: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[305]' [-Wformat=] scanf("%s", &s); ^ main.cpp:77:23: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[305]' [-Wformat=] scanf("%s", &s); ^ main.cpp:64:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] { freopen("sub.in", "r",stdin); ^ main.cpp:65:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("sub.out", "w",stdout); ^ main.cpp:67:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &na); ^ main.cpp:69:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &s); ^ main.cpp:75:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &nb); ^ main.cpp:77: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
12ms262kbIncorect0
24ms1048kbIncorect0
313ms4718kbIncorect0
469ms29884kbIncorect0
5203ms104071kbTime limit exceeded0
6200ms95944kbTime limit exceeded0
7202ms94633kbTime limit exceeded0
8200ms93585kbTime limit exceeded0
9200ms93323kbTime limit exceeded0
10202ms96731kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?