Borderou de evaluare (job #296039)

Utilizator avatar LucianT Trepteanu Lucian LucianT IP ascuns
Problemă Ssdj (lot liceu) Compilator cpp | vezi sursa
Rundă Arhiva de probleme Status evaluat
Dată 27 mar. 2017 22:40:57 Scor 100

Raport evaluator

Compilare: user.cpp: In function 'int main()': user.cpp:10:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] user.cpp:11:35: 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:14:21: 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 /usr/include/c++/4.6/i686-linux-gnu/./bits/stdc++.h:47, from user.cpp:1: In function 'char* gets(char*)', inlined from 'int main()' at user.cpp:14:21: /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/cc5ej7Yr.o: In function `main': user.cpp:(.text.startup+0x81): warning: the `gets' function is dangerous and should not be used.
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 684 kb OK 10
2 56 ms 1912 kb OK 10
3 32 ms 1912 kb OK 10
4 88 ms 2892 kb OK 10
5 148 ms 2896 kb OK 10
6 280 ms 3884 kb OK 10
7 368 ms 4364 kb OK 10
8 472 ms 4868 kb OK 10
9 472 ms 4868 kb OK 10
10 540 ms 5356 kb OK 10
Punctaj total 100