Pagini recente » Borderou de evaluare (job #2719969) | Borderou de evaluare (job #1307750) | Borderou de evaluare (job #1255093) | Borderou de evaluare (job #2611861) | Borderou de evaluare (job #1755686)
Borderou de evaluare (job #1755686)
Raport evaluator
Compilare:
user.cpp: In function ‘void bkt(int, int)’:
user.cpp:86:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(pos == p.size())
^
user.cpp:88:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<p.size(); i++)
^
user.cpp:90:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<p.size(); i++)
^
user.cpp:93:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<p.size(); i++)
^
user.cpp:111:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=pos+1; i<p.size(); i++)
^
user.cpp:119:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<=p.size(); j++)
^
user.cpp: In function ‘int main()’:
user.cpp:134:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trapeze.in", "r", stdin);
^
user.cpp:135:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trapeze.out", "w", stdout);
^
user.cpp:137:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 10 |
2 | 0ms | 288kb | OK | 10 |
3 | 0ms | 284kb | OK | 10 |
4 | 0ms | 280kb | OK | 10 |
5 | 0ms | 284kb | OK | 10 |
6 | 0ms | 292kb | OK | 10 |
7 | 0ms | 296kb | OK | 10 |
8 | 0ms | 284kb | OK | 10 |
9 | 0ms | 284kb | OK | 10 |
10 | 0ms | 288kb | OK | 10 |
Punctaj total | 100 |