Pagini recente » Borderou de evaluare (job #2244965) | Borderou de evaluare (job #311315) | Borderou de evaluare (job #155364) | Borderou de evaluare (job #2099763) | Borderou de evaluare (job #1783603)
Borderou de evaluare (job #1783603)
Raport evaluator
Compilare:
user.cpp: In function ‘void print_answer()’:
user.cpp:72:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", ans);
^
user.cpp: In function ‘void read_input()’:
user.cpp:14:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv5.in","r",stdin);
^
user.cpp:16:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &n, &l, &r);
^
user.cpp:18:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
user.cpp: In function ‘void print_answer()’:
user.cpp:71:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv5.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 448kb | Incorect | 0 |
2 | 0ms | 536kb | Incorect | 0 |
3 | 8ms | 656kb | Incorect | 0 |
4 | 36ms | 1048kb | Incorect | 0 |
5 | 52ms | 1324kb | Incorect | 0 |
6 | 160ms | 2344kb | Incorect | 0 |
7 | 404ms | 7064kb | Incorect | 0 |
8 | 488ms | 7588kb | Incorect | 0 |
9 | 652ms | 8372kb | Incorect | 0 |
10 | 1056ms | 8368kb | Incorect | 0 |
Punctaj total | 0 |