Pagini recente » Borderou de evaluare (job #2481001) | Borderou de evaluare (job #1651225) | Borderou de evaluare (job #2637052) | Borderou de evaluare (job #766788) | Borderou de evaluare (job #1823722)
Borderou de evaluare (job #1823722)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:9: warning: unused variable ‘i1’ [-Wunused-variable]
int i1 = 0, i2 = 0, i3 = 0;
^
user.cpp:10:17: warning: unused variable ‘i2’ [-Wunused-variable]
int i1 = 0, i2 = 0, i3 = 0;
^
user.cpp:10:25: warning: unused variable ‘i3’ [-Wunused-variable]
int i1 = 0, i2 = 0, i3 = 0;
^
user.cpp:7:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.in", "r", stdin);
^
user.cpp:8:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.out", "w", stdout);
^
user.cpp:9:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:13:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x), Sum = Sum + x;
^
user.cpp:17:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.in", "r", stdin);
^
user.cpp:18:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:20:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:26:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.in", "r", stdin);
^
user.cpp:27:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:29:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 0ms | 276kb | OK | 10 |
4 | 0ms | 264kb | OK | 10 |
5 | 4ms | 272kb | OK | 10 |
6 | 4ms | 280kb | OK | 10 |
7 | 48ms | 280kb | OK | 10 |
8 | 120ms | 272kb | OK | 10 |
9 | 48ms | 280kb | OK | 10 |
10 | 16ms | 268kb | OK | 10 |
Punctaj total | 100 |