Borderou de evaluare (job #198687)

Utilizator avatar stefan Stefan Creasta stefan IP ascuns
Problemă Excel1 (clasa a 7-a) Compilator cpp
Rundă runda1_pregatire_j7 Status evaluat
Dată 12 feb. 2016 16:36:49 Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int solve()’: user.cpp:38:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] user.cpp:43:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] user.cpp:63:1: warning: no return statement in function returning non-void [-Wreturn-type] user.cpp:14:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:15:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:16:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:19: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 solve()’ at user.cpp:19: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/ccGOKH2y.o: In function `solve()': user.cpp:(.text+0x7f): warning: the `gets' function is dangerous and should not be used.
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 268 kb OK 10
2 0 ms 268 kb OK 10
3 0 ms 268 kb OK 10
4 0 ms 264 kb OK 10
5 0 ms 268 kb OK 10
6 0 ms 268 kb OK 10
7 0 ms 268 kb OK 10
8 0 ms 276 kb OK 10
9 0 ms 272 kb OK 10
10 0 ms 268 kb OK 10
Punctaj total 100