Pagini recente » Borderou de evaluare (job #1894832) | Borderou de evaluare (job #2981437) | Borderou de evaluare (job #1238832) | Borderou de evaluare (job #1543809) | Borderou de evaluare (job #1274722)
Borderou de evaluare (job #1274722)
Raport evaluator
Compilare:
user.cpp: In function ‘bool isGood(long long int)’:
user.cpp:34:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<V.size()&&i<K;i++){
^
user.cpp: In function ‘int main()’:
user.cpp:59:19: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%ld",i);
^
user.cpp:44: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);
^
user.cpp:45: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);
^
user.cpp:47:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:48:55: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++) scanf("%ld %ld",&d[i].A,&d[i].B);
^
user.cpp:49:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&K,&P);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 428kb | OK | 10 |
2 | 0ms | 428kb | OK | 10 |
3 | 0ms | 428kb | OK | 10 |
4 | 4ms | 444kb | Incorect | 0 |
5 | 4ms | 436kb | OK | 10 |
6 | 8ms | 444kb | OK | 10 |
7 | 8ms | 440kb | OK | 10 |
8 | 0ms | 428kb | OK | 10 |
9 | 8ms | 436kb | OK | 10 |
10 | 8ms | 448kb | OK | 10 |
Punctaj total | 90 |