Borderou de evaluare (job #20805)

Utilizator avatar tudoralina Tudor Alina tudoralina IP ascuns
Problemă Romb (clasa a 6-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 26 iun. 2013 13:46:14 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:11:5: error: 'gets' was not declared in this scope; did you mean 'getw'? 11 | gets(s+1),n=strlen(s+1); | ^~~~ | getw main.cpp:8:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | freopen("romb.in","r",stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:9:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | freopen("romb.out","w",stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:10:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | scanf("%d ",&k); | ~~~~~^~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 236 kb Incorect 0
2 0 ms 228 kb OK 10
3 0 ms 240 kb Incorect 0
4 0 ms 236 kb Incorect 0
5 12 ms depășită Memory limit exceeded. 0
6 12 ms depășită Memory limit exceeded. 0
7 12 ms depășită Memory limit exceeded. 0
8 12 ms depășită Memory limit exceeded. 0
9 12 ms depășită Memory limit exceeded. 0
10 12 ms depășită Memory limit exceeded. 0
Punctaj total 0