Pagini recente » Borderou de evaluare (job #795478) | Borderou de evaluare (job #1597154) | Borderou de evaluare (job #2701816) | Borderou de evaluare (job #1805017) | Borderou de evaluare (job #1492883)
Borderou de evaluare (job #1492883)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
scanf("%d %d %d\n",&N,&K,&HP);
^
user.cpp:29:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sao.in","r",stdin);
^
user.cpp:30:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sao.out","w",stdout);
^
user.cpp:31:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d\n",&N,&K,&HP);
^
user.cpp:33:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | Incorect | 0 |
2 | 0ms | 260kb | Incorect | 0 |
3 | 0ms | 276kb | Incorect | 0 |
4 | 0ms | 276kb | Incorect | 0 |
5 | 28ms | 896kb | Incorect | 0 |
6 | 36ms | 892kb | Incorect | 0 |
7 | 36ms | 888kb | OK | 10 |
8 | 36ms | 892kb | OK | 10 |
9 | 36ms | 892kb | OK | 10 |
10 | 40ms | 888kb | OK | 10 |
Punctaj total | 40 |