Borderou de evaluare (job #2367830)

Utilizator Mirela_MagdalenaCatrina Mirela Mirela_Magdalena Data 5 martie 2019 12:23:41
Problema Secventa 6 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:88:20: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d", &x0); ^ main.cpp:91:24: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d", &xp); ^ main.cpp:92:19: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] int x = i + x0 ^ xp; ~~^~~~ main.cpp:84:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("secv6.in", "r", stdin); ^ main.cpp:85:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("secv6.out", "w", stdout); ^ main.cpp:86:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &N); ^ main.cpp:88:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x0); ^ main.cpp:91:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &xp); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK5
2213ms4587kbIncorect0
3600ms8257kbOK5
4652ms25296kbTime limit exceeded0
5651ms34078kbTime limit exceeded0
6652ms33947kbTime limit exceeded0
7652ms33947kbTime limit exceeded0
8653ms34078kbTime limit exceeded0
9651ms34209kbTime limit exceeded0
10650ms34037kbTime limit exceeded0
11652ms34078kbTime limit exceeded0
12651ms33947kbTime limit exceeded0
13652ms34078kbTime limit exceeded0
14652ms33947kbTime limit exceeded0
15650ms34078kbTime limit exceeded0
16651ms34209kbTime limit exceeded0
17656ms34078kbTime limit exceeded0
18652ms34078kbTime limit exceeded0
19652ms33947kbTime limit exceeded0
20650ms34078kbTime limit exceeded0
Punctaj total10

Ceva nu functioneaza?