Pagini recente » Borderou de evaluare (job #1783652) | Borderou de evaluare (job #1304299) | Borderou de evaluare (job #1812584) | Borderou de evaluare (job #2789163) | Borderou de evaluare (job #1579319)
Borderou de evaluare (job #1579319)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:64:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(sol.size()<k) printf("-1");
^
user.cpp:65:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else for(int i=0;i<sol.size();i++) printf("%d %d\n",sol[i].first,sol[i].second);
^
user.cpp:27:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("romania.in", "r", stdin);
^
user.cpp:28:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("romania.out", "w", stdout);
^
user.cpp:30: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:33:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 272kb | OK | 10 |
3 | 0ms | 296kb | OK | 10 |
4 | 0ms | 324kb | OK | 10 |
5 | 24ms | 868kb | OK | 10 |
6 | 32ms | 1052kb | OK | 10 |
7 | 56ms | 1520kb | OK | 10 |
8 | 48ms | 2236kb | OK | 10 |
9 | 124ms | 3628kb | OK | 10 |
10 | 200ms | 4004kb | OK | 10 |
Punctaj total | 100 |