Pagini recente » Borderou de evaluare (job #1507963) | Borderou de evaluare (job #396582) | Borderou de evaluare (job #1866212) | Borderou de evaluare (job #524043) | Borderou de evaluare (job #1768893)
Borderou de evaluare (job #1768893)
Raport evaluator
Compilare:
user.cpp: In function ‘int check(int)’:
user.cpp:8:9: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, t = 1, p = 0, val = 0;
^
user.cpp: In function ‘int main()’:
user.cpp:32:13: warning: unused variable ‘start’ [-Wunused-variable]
int teste, start, end;
^
user.cpp:32:20: warning: unused variable ‘end’ [-Wunused-variable]
int teste, start, end;
^
user.cpp: In function ‘void read_and_solve()’:
user.cpp:20:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &N), NR = 0;
^
user.cpp:21:62: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i = 1; i <= N; i++) scanf("%d ", &A[i]), d += (long)A[i];
^
user.cpp: In function ‘int main()’:
user.cpp:33:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("auto.in", "rt", stdin);
^
user.cpp:34:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("auto.out", "wt", stdout);
^
user.cpp:35:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &teste);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 444kb | OK | 10 |
2 | 0ms | 444kb | OK | 10 |
3 | 4ms | 456kb | OK | 10 |
4 | 4ms | 456kb | OK | 10 |
5 | 4ms | 460kb | OK | 10 |
6 | 4ms | 456kb | OK | 10 |
7 | 88ms | 540kb | OK | 10 |
8 | 96ms | 544kb | OK | 10 |
9 | 96ms | 544kb | OK | 10 |
10 | 0ms | 444kb | OK | 10 |
Punctaj total | 100 |