Borderou de evaluare (job #1704578)

Utilizator akaprosAna Kapros akapros Data 19 mai 2016 00:53:04
Problema Go2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void Coef()’: user.cpp:62:15: warning: unused variable ‘y’ [-Wunused-variable] int i, j, y; ^ user.cpp: In function ‘void read()’: user.cpp:14:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("go2.in", "r", stdin); ^ user.cpp:15:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &n, &m); ^ user.cpp:19:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s[i] + 1); ^ user.cpp: In function ‘void write()’: user.cpp:142:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("go2.out", "w", stdout); ^ In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.8/cstdio:42, from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:46, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘void read()’ at user.cpp:19:23: /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] return __gets_warn (__str); ^ /tmp/cchk3wIo.o: In function `read()': user.cpp:(.text+0x72): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms772kbOK510
20ms772kbOK5
30ms776kbOK510
40ms780kbOK5
50ms780kbOK530
60ms772kbOK5
70ms780kbOK5
80ms776kbOK5
90ms780kbOK5
100ms772kbOK5
114ms780kbOK55
124ms780kbOK55
134ms780kbOK55
144ms776kbOK55
154ms784kbOK55
164ms784kbOK55
174ms776kbOK55
184ms776kbOK55
194ms780kbOK55
204ms776kbOK55
Punctaj total100

Ceva nu functioneaza?