Pagini recente » Borderou de evaluare (job #375679) | Borderou de evaluare (job #2451586) | Borderou de evaluare (job #1782483) | Borderou de evaluare (job #631096) | Borderou de evaluare (job #2692027)
Borderou de evaluare (job #2692027)
Raport evaluator
Compilare:
main.cpp: In function 'bool isGood(long long int)':
main.cpp:27:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<ans.size() && i<k;i++){
~^~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:40:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("checkin.in","r",stdin);
^
main.cpp:41:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("checkin.out","w",stdout);
^
main.cpp:45:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lli",&n);
^
main.cpp:49:43: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lli %lli",&v[i].a,&v[i].b);
^
main.cpp:52:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lli %lli",&k,&p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | OK | 10 |
2 | 3ms | 131kb | OK | 10 |
3 | 3ms | 131kb | OK | 10 |
4 | 7ms | 131kb | OK | 10 |
5 | 8ms | 131kb | OK | 10 |
6 | 14ms | 131kb | OK | 10 |
7 | 12ms | 131kb | OK | 10 |
8 | 3ms | 131kb | OK | 10 |
9 | 14ms | 131kb | OK | 10 |
10 | 14ms | 131kb | OK | 10 |
Punctaj total | 100 |