Pagini recente » Borderou de evaluare (job #1106032) | Borderou de evaluare (job #699465) | Borderou de evaluare (job #2327965) | Borderou de evaluare (job #2935678) | Borderou de evaluare (job #1718634)
Borderou de evaluare (job #1718634)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; k && i<va.size() && vb[i]>va[i]; ++i, --k) {
^
user.cpp:42:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<va.size(); ++i)
^
user.cpp:12:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kbetray.in","r",stdin);
^
user.cpp:13:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kbetray.out","w",stdout);
^
user.cpp:18:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:20:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a.first);
^
user.cpp:21:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&b.first);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 0ms | 272kb | OK | 10 |
3 | 0ms | 268kb | OK | 10 |
4 | 0ms | 292kb | OK | 10 |
5 | 0ms | 296kb | OK | 10 |
6 | 8ms | 600kb | OK | 10 |
7 | 100ms | 1964kb | OK | 10 |
8 | 104ms | 1964kb | OK | 10 |
9 | 96ms | 1968kb | OK | 10 |
10 | 100ms | 1964kb | OK | 10 |
Punctaj total | 100 |