Pagini recente » Borderou de evaluare (job #1952245) | Borderou de evaluare (job #2367229) | Borderou de evaluare (job #2444136) | Borderou de evaluare (job #2237862) | Borderou de evaluare (job #1393641)
Borderou de evaluare (job #1393641)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:91:52: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
for(int i = 1; i <= k; ++i) printf("%d ",sol[i]);
^
user.cpp:56:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secvbest.in","r",stdin);
^
user.cpp:57:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secvbest.out","w",stdout);
^
user.cpp:58:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&k,&S);
^
user.cpp:61:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | Incorect | 0 |
2 | 0ms | 328kb | OK | 10 |
3 | 32ms | 608kb | Incorect | 0 |
4 | 60ms | 924kb | Incorect | 0 |
5 | 96ms | 1240kb | Incorect | 0 |
6 | 208ms | 3392kb | Incorect | 0 |
7 | 208ms | 3392kb | Incorect | 0 |
8 | 312ms | 3396kb | Incorect | 0 |
9 | 316ms | 3392kb | Incorect | 0 |
10 | 324ms | 3392kb | Incorect | 0 |
Punctaj total | 10 |