Pagini recente » Borderou de evaluare (job #1266396) | Borderou de evaluare (job #768352) | Borderou de evaluare (job #1022389) | Borderou de evaluare (job #3196799) | Borderou de evaluare (job #1543506)
Borderou de evaluare (job #1543506)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:32:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d", &x, &y);
^
user.cpp:32:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:27:24: warning: unused variable ‘j’ [-Wunused-variable]
long long n, k, i, j, sum,a, x, y, c1, c2, mij;
^
user.cpp:27:31: warning: unused variable ‘a’ [-Wunused-variable]
long long n, k, i, j, sum,a, x, y, c1, c2, mij;
^
user.cpp:25:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kbetray.in", "r", stdin);
^
user.cpp:26:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kbetray.out", "w", stdout);
^
user.cpp:28:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld", &n, &k);
^
user.cpp:32:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
user.cpp:27:48: warning: ‘mij’ may be used uninitialized in this function [-Wmaybe-uninitialized]
long long n, k, i, j, sum,a, x, y, c1, c2, mij;
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 260kb | OK | 10 |
✗ | 2 | 0ms | 260kb | Incorect | 0 |
✗ | 3 | 0ms | 260kb | Incorect | 0 |
✗ | 4 | 0ms | 272kb | Incorect | 0 |
✗ | 5 | 0ms | 264kb | Incorect | 0 |
✗ | 6 | 8ms | 340kb | Incorect | 0 |
✗ | 7 | 96ms | 1036kb | Incorect | 0 |
✗ | 8 | 92ms | 1040kb | Incorect | 0 |
✓ | 9 | 96ms | 1040kb | Incorect | 0 |
✗ | 10 | 96ms | 1036kb | Incorect | 0 |
Punctaj total | 10 |