Pagini recente » Borderou de evaluare (job #731335) | Borderou de evaluare (job #1664091) | Borderou de evaluare (job #2819070) | Borderou de evaluare (job #2557991) | Borderou de evaluare (job #1217795)
Borderou de evaluare (job #1217795)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:32:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (strlen(A[i]+1)<MIN)
^
user.cpp:112:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<T.size();++i)
^
user.cpp:23:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.in","r",stdin);
^
user.cpp:24:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.out","w",stdout);
^
user.cpp:26:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&N);
^
user.cpp:30:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(A[i]+1);
^
user.cpp:39:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&M);
^
user.cpp:42:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(B[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 ‘int main()’ at user.cpp:30:17:
/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);
^
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:42:13:
/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/ccAR8qMs.o: In function `main':
user.cpp:(.text.startup+0x8c): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 140ms | 106796kb | Incorect | 0 |
2 | 140ms | 106796kb | OK | 10 |
3 | 148ms | 106800kb | OK | 10 |
4 | 184ms | 106812kb | OK | 10 |
5 | Depăşit | 106816kb | Time limit exceeded. | 0 |
6 | Depăşit | 87160kb | Time limit exceeded. | 0 |
7 | Depăşit | 28888kb | Time limit exceeded. | 0 |
8 | Depăşit | 28892kb | Time limit exceeded. | 0 |
9 | Depăşit | 28540kb | Time limit exceeded. | 0 |
10 | Depăşit | 28896kb | Time limit exceeded. | 0 |
Punctaj total | 30 |