Pagini recente » Borderou de evaluare (job #1964917) | Borderou de evaluare (job #341552) | Borderou de evaluare (job #2857116) | Borderou de evaluare (job #2834920) | Borderou de evaluare (job #1755654)
Borderou de evaluare (job #1755654)
Raport evaluator
Compilare:
user.cpp: In function ‘void bkt(int, int)’:
user.cpp:23:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(pos == p.size())
^
user.cpp:25:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<p.size(); i++)
^
user.cpp:27:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<p.size(); i++)
^
user.cpp:30:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<p.size(); i++)
^
user.cpp:48:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=pos+1; i<p.size(); i++)
^
user.cpp:56: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:71: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:72: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:74: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 | 288kb | OK | 10 |
2 | 0ms | 284kb | Incorect | 0 |
3 | 0ms | 288kb | Incorect | 0 |
4 | 0ms | 292kb | Incorect | 0 |
5 | 0ms | 284kb | Incorect | 0 |
6 | 0ms | 288kb | OK | 10 |
7 | 0ms | 292kb | OK | 10 |
8 | 0ms | 292kb | Incorect | 0 |
9 | 0ms | 288kb | Incorect | 0 |
10 | 0ms | 288kb | OK | 10 |
Punctaj total | 40 |