Pagini recente » Borderou de evaluare (job #2082502) | Borderou de evaluare (job #587736) | Borderou de evaluare (job #440635) | Borderou de evaluare (job #2399396) | Borderou de evaluare (job #1641176)
Borderou de evaluare (job #1641176)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:9: warning: unused variable ‘damage’ [-Wunused-variable]
int damage;
^
user.cpp:10:34: 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:11:36: 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:15:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%lld", &n, &k, &hp);
^
user.cpp:21:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &damage);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 272kb | OK | 10 |
3 | 0ms | 272kb | OK | 10 |
4 | 0ms | 284kb | OK | 10 |
5 | 12ms | 528kb | OK | 10 |
6 | 32ms | 528kb | OK | 10 |
7 | 36ms | 528kb | OK | 10 |
8 | 40ms | 528kb | OK | 10 |
9 | 36ms | 528kb | OK | 10 |
10 | 36ms | 528kb | OK | 10 |
Punctaj total | 100 |