Borderou de evaluare (job #2316758)

Utilizator bogdi1bogdan bancuta bogdi1 Data 12 ianuarie 2019 13:13:46
Problema Sub Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:67:23: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[305]' [-Wformat=] scanf("%s", &s); ^ main.cpp:74:23: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[305]' [-Wformat=] scanf("%s", &s); ^ main.cpp:62: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:63: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:65:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &na); ^ main.cpp:67:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &s); ^ main.cpp:72:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &nb); ^ main.cpp:74: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
12ms262kbOK10
25ms1048kbOK10
316ms4849kbOK10
489ms29884kbOK10
5200ms100139kbTime limit exceeded0
6200ms95027kbTime limit exceeded0
7200ms101580kbTime limit exceeded0
8203ms101318kbTime limit exceeded0
9200ms100925kbTime limit exceeded0
10203ms95682kbTime limit exceeded0
Punctaj total40

Ceva nu functioneaza?