Pagini recente » Borderou de evaluare (job #2468068) | Borderou de evaluare (job #2000179) | Borderou de evaluare (job #2203064) | Borderou de evaluare (job #2971209) | Borderou de evaluare (job #1602830)
Borderou de evaluare (job #1602830)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d",(N-k)*2 + 1);
^
user.cpp:6:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fetite.in","r",stdin);
^
user.cpp:7:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&N);
^
user.cpp:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fetite.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | OK | 10 |
2 | 0ms | 292kb | OK | 10 |
3 | 0ms | 292kb | OK | 10 |
4 | 0ms | 284kb | OK | 10 |
5 | 0ms | 292kb | OK | 10 |
6 | 0ms | 288kb | Incorect | 0 |
7 | 0ms | 292kb | Incorect | 0 |
8 | 0ms | 284kb | Incorect | 0 |
9 | 0ms | 288kb | Incorect | 0 |
10 | 0ms | 288kb | Incorect | 0 |
Punctaj total | 50 |