Pagini recente » Borderou de evaluare (job #2913630) | Borderou de evaluare (job #2081302) | Borderou de evaluare (job #236311) | Borderou de evaluare (job #1280152) | Borderou de evaluare (job #1493374)
Borderou de evaluare (job #1493374)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d %d\n", &N, &L);
^
user.cpp:24:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:31:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
for (int i = 0; i < L; ++i) scanf("%d", &c[i]), P[i] = i;
^
user.cpp:66:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", A[(1 << N) - 1]);
^
user.cpp:20:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("data.out", "w", stdout);
^
user.cpp:24:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &N, &L);
^
user.cpp:27:33: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(line, 1005, stdin);
^
user.cpp:31:61: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i = 0; i < L; ++i) scanf("%d", &c[i]), P[i] = i;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | Killed by signal 6(SIGABRT). | 0 |
2 | 0ms | 256kb | Killed by signal 6(SIGABRT). | 0 |
3 | 0ms | 256kb | Killed by signal 6(SIGABRT). | 0 |
4 | 0ms | 260kb | Killed by signal 6(SIGABRT). | 0 |
5 | 0ms | 260kb | Killed by signal 6(SIGABRT). | 0 |
6 | 0ms | 256kb | Killed by signal 6(SIGABRT). | 0 |
7 | 0ms | 260kb | Killed by signal 6(SIGABRT). | 0 |
8 | 0ms | 256kb | Killed by signal 6(SIGABRT). | 0 |
9 | 0ms | 256kb | Killed by signal 6(SIGABRT). | 0 |
10 | 0ms | 256kb | Killed by signal 6(SIGABRT). | 0 |
Punctaj total | 0 |