Pagini recente » Borderou de evaluare (job #1886586) | Borderou de evaluare (job #212728) | Borderou de evaluare (job #2871708) | Borderou de evaluare (job #1465168)
Borderou de evaluare (job #1465168)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:28:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("electrica.in", "r", stdin);
^
user.cpp:29:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("electrica.out", "w", stdout);
^
user.cpp:30:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d\n", &n, &m, &l);
^
user.cpp:32:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a[i] + 1);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘void read()’ at user.cpp:32: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/ccPDgEs5.o: In function `read()':
user.cpp:(.text+0x145): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 288kb | OK | 10 | 20 |
2 | 0ms | 284kb | OK | 10 |
3 | 0ms | 508kb | OK | 10 | 10 |
4 | 0ms | 612kb | OK | 10 | 10 |
5 | 16ms | 1992kb | OK | 10 | 10 |
6 | 20ms | 2056kb | OK | 10 | 10 |
7 | 96ms | 5164kb | OK | 10 | 10 |
8 | 100ms | 5160kb | OK | 10 | 10 |
9 | 108ms | 5160kb | OK | 10 | 10 |
10 | 108ms | 5168kb | OK | 10 | 10 |
Punctaj total | 100 |