Pagini recente » Borderou de evaluare (job #2828400) | Borderou de evaluare (job #1427456) | Borderou de evaluare (job #1519205) | Borderou de evaluare (job #1845531) | Borderou de evaluare (job #1755663)
Borderou de evaluare (job #1755663)
Raport evaluator
Compilare:
user.cpp: In member function ‘HN& HN::operator*(int)’:
user.cpp:51:12: warning: reference to local variable ‘ans’ returned [-Wreturn-local-addr]
HN ans;
^
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 | 284kb | Incorect | 0 |
2 | 0ms | 288kb | Incorect | 0 |
3 | 0ms | 288kb | Incorect | 0 |
4 | 0ms | 288kb | Incorect | 0 |
5 | 0ms | 288kb | Incorect | 0 |
6 | 0ms | 284kb | Incorect | 0 |
7 | 0ms | 292kb | Incorect | 0 |
8 | 0ms | 288kb | Incorect | 0 |
9 | 0ms | 288kb | Incorect | 0 |
10 | 0ms | 284kb | Incorect | 0 |
Punctaj total | 0 |