Pagini recente » Borderou de evaluare (job #41840) | Borderou de evaluare (job #947141) | Borderou de evaluare (job #59062) | Borderou de evaluare (job #98867) | Borderou de evaluare (job #2305020)
Borderou de evaluare (job #2305020)
Raport evaluator
Compilare:
main.cpp: In function 'void zet()':
main.cpp:53:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( int i=1;i<s.size() && !ok;i++ )
~^~~~~~~~~
main.cpp:65:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while( i+z[i]<s.size() && s[z[i]]==s[i+z[i]] )
~~~~~~^~~~~~~~~
main.cpp:71:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if( z[i]==a.size() )
~~~~^~~~~~~~~~
main.cpp: In function 'char nextch()':
main.cpp:21:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fread(buff,1,BUFF,stdin);
^
main.cpp: In function 'int main()':
main.cpp:89:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen( "potrivire.in", "r", stdin );
^
main.cpp:90:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen( "potrivire.out", "w", stdout );
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 10 |
2 | 2ms | 131kb | OK | 10 | 10 |
3 | 2ms | 131kb | OK | 10 | 10 |
4 | 2ms | 131kb | OK | 10 | 10 |
5 | 3ms | 131kb | OK | 10 | 60 |
6 | 3ms | 131kb | OK | 10 |
7 | 3ms | 131kb | OK | 10 |
8 | 3ms | 131kb | OK | 10 |
9 | 2ms | 131kb | OK | 10 |
10 | 3ms | 131kb | OK | 10 |
Punctaj total | 100 |