Borderou de evaluare (job #2275513)

Utilizator bogdi1bogdan bancuta bogdi1 Data 3 noiembrie 2018 11:39:08
Problema Sirag 2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 90

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:20:23: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[100005]' [-Wformat=] scanf("%s", &s); ^ main.cpp:14:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] { freopen("sirag2.in", "r",stdin); ^ main.cpp:15:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("sirag2.out", "w",stdout); ^ main.cpp:17:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ main.cpp:19:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n", &n, &l); ^ main.cpp:20: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
13ms524kbKilled by Signal 110
25ms524kbOK10
35ms524kbOK10
45ms524kbOK10
575ms1048kbOK10
674ms1048kbOK10
775ms1048kbOK10
874ms1048kbOK10
975ms1048kbOK10
1074ms1048kbOK10
Punctaj total90

Ceva nu functioneaza?