Pagini recente » Borderou de evaluare (job #1906914) | Borderou de evaluare (job #1889092) | Borderou de evaluare (job #2020015) | Borderou de evaluare (job #222734) | Borderou de evaluare (job #1501025)
Borderou de evaluare (job #1501025)
Raport evaluator
Compilare:
user.cpp: In function ‘int ok(int, int)’:
user.cpp:25:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < V[x].size(); ++ i)
^
user.cpp: In function ‘void read()’:
user.cpp:33:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("abc2.in", "r", stdin);
^
user.cpp:34:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:38:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a[nr]);
^
user.cpp: In function ‘void write()’:
user.cpp:74:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("abc2.out", "w", stdout);
^
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:38:20:
/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/cc3eISER.o: In function `read()':
user.cpp:(.text+0x38b): warning: the `gets' function is dangerous and should not be used.
user.cpp:(.text+0x361): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 12ms | 8060kb | OK | 10 | 0 |
2 | 12ms | 8060kb | OK | 10 |
3 | 12ms | 8112kb | OK | 10 |
4 | 20ms | 8272kb | OK | 10 |
5 | 52ms | 8812kb | OK | 10 |
6 | 248ms | 10140kb | OK | 10 |
7 | 804ms | 14764kb | OK | 10 |
8 | Depăşit | 19616kb | Time limit exceeded. | 0 |
9 | Depăşit | 19616kb | Time limit exceeded. | 0 |
10 | Depăşit | 19616kb | Time limit exceeded. | 0 |
Punctaj total | 0 |