Pagini recente » Borderou de evaluare (job #198971) | Borderou de evaluare (job #2331996) | Borderou de evaluare (job #200386) | Borderou de evaluare (job #1851285) | Borderou de evaluare (job #1393636)
Borderou de evaluare (job #1393636)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:90: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:48: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:49: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:50: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:53: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 | 324kb | OK | 10 |
3 | 24ms | 608kb | Incorect | 0 |
4 | 52ms | 924kb | Incorect | 0 |
5 | 72ms | 1240kb | Incorect | 0 |
6 | 172ms | 3388kb | Incorect | 0 |
7 | 176ms | 3388kb | Incorect | 0 |
8 | 256ms | 3388kb | Incorect | 0 |
9 | 260ms | 3392kb | Incorect | 0 |
10 | 252ms | 3388kb | Incorect | 0 |
Punctaj total | 10 |