Borderou de evaluare (job #104583)

Utilizator avatar marcu461 Dani Mocanu marcu461 IP ascuns
Problemă Litere (clasa a 7-a) Compilator cpp
Rundă 2015-01-08-tema-7 Status evaluat
Dată 13 ian. 2015 20:09:22 Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:12:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:13:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:27:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:29:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:36:13: warning: ‘ok’ may be used uninitialized in this function [-Wuninitialized] /tmp/ccIdk4EI.o: In function `main': user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 260 kb OK 10
2 0 ms 264 kb OK 10
3 0 ms 264 kb OK 10
4 0 ms 264 kb OK 10
5 0 ms 264 kb OK 10
6 0 ms 260 kb OK 10
7 0 ms 264 kb OK 10
8 0 ms 268 kb OK 10
9 4 ms 312 kb OK 10
10 4 ms 308 kb OK 10
Punctaj total 100