Borderou de evaluare (job #2408755)

Utilizator savulescustefanSavulescu Stefan savulescustefan Data 18 aprilie 2019 12:12:19
Problema Minerale Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 70

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:40:24: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[104]' [-Wformat=] scanf ("%s", &s); ^ main.cpp:23:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("minerale.in","r",stdin); ^ main.cpp:24:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("minerale.out","w",stdout); ^ main.cpp:25:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d\n", &r, &m); ^ main.cpp:28:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%c ", &ch); ^ main.cpp:29:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%c%c", &x, &y); ^ main.cpp:35:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%c", &y); ^ main.cpp:40:25: 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
12ms131kbOK10
23ms131kbOK10
3278ms393kbOK10
4665ms393kbOK10
51148ms393kbOK10
6734ms262kbOK10
7733ms262kbOK10
81203ms393kbTime limit exceeded0
91200ms393kbTime limit exceeded0
101203ms393kbTime limit exceeded0
Punctaj total70

Ceva nu functioneaza?