Borderou de evaluare (job #167285)

Utilizator avatar vladioan birsan vlad ioan vladioan IP ascuns
Problemă Rima ( clasa a 7-a ) Compilator cpp
Rundă 7a_lab9 Status evaluat
Dată 20 nov. 2015 21:54:52 Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: 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:10:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:12:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:16:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.6/cstdio:44, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:16:19: /usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default] /tmp/ccG9ikt8.o: In function `main': user.cpp:(.text.startup+0x85): warning: the `gets' function is dangerous and should not be used.
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 248 kb OK 10
2 0 ms 252 kb OK 10
3 0 ms 252 kb OK 10
4 0 ms 256 kb Incorect 0
5 0 ms 256 kb OK 10
6 0 ms 252 kb OK 10
7 0 ms 252 kb OK 10
8 0 ms 252 kb Killed by signal 11(SIGSEGV). 0
9 0 ms 244 kb Killed by signal 11(SIGSEGV). 0
10 0 ms 248 kb Killed by signal 11(SIGSEGV). 0
Punctaj total 60