Pagini recente » Borderou de evaluare (job #392822) | Borderou de evaluare (job #2871203) | Borderou de evaluare (job #2259573) | Borderou de evaluare (job #1579628) | Borderou de evaluare (job #1492884)
Borderou de evaluare (job #1492884)
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:33:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d ",&a[i]);
^
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 | 272kb | Incorect | 0 |
2 | 0ms | 272kb | Incorect | 0 |
3 | 0ms | 288kb | Incorect | 0 |
4 | 0ms | 292kb | Incorect | 0 |
5 | 28ms | 1548kb | Incorect | 0 |
6 | 32ms | 1052kb | Incorect | 0 |
7 | 36ms | 1052kb | Incorect | 0 |
8 | 36ms | 1052kb | Incorect | 0 |
9 | 32ms | 1056kb | Incorect | 0 |
10 | 36ms | 1052kb | Incorect | 0 |
Punctaj total | 0 |