Pagini recente » Borderou de evaluare (job #1323186) | Borderou de evaluare (job #1827713) | Borderou de evaluare (job #1066716) | Borderou de evaluare (job #2274394) | Borderou de evaluare (job #1531076)
Borderou de evaluare (job #1531076)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf ("%ld %ld", &x, &y);
^
user.cpp:16:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:25:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf ("%ld %ld", &x, &y);
^
user.cpp:25:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:12:15: warning: unused variable ‘m’ [-Wunused-variable]
int K, n, m, x, y;
^
user.cpp:10:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("licenta.in", "rt", stdin);
^
user.cpp:11:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("licenta.out", "wt", stdout);
^
user.cpp:16:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%ld %ld", &x, &y);
^
user.cpp:25:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%ld %ld", &x, &y);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 4ms | 436kb | OK | 10 |
✓ | 2 | 4ms | 452kb | OK | 10 |
✓ | 3 | 0ms | 476kb | OK | 10 |
✓ | 4 | 8ms | 756kb | OK | 10 |
✓ | 5 | 12ms | 456kb | OK | 10 |
✓ | 6 | 88ms | 664kb | OK | 10 |
✓ | 7 | 116ms | 684kb | OK | 10 |
✓ | 8 | 116ms | 540kb | OK | 10 |
✓ | 9 | 116ms | 668kb | OK | 10 |
✓ | 10 | 112ms | 484kb | OK | 10 |
Punctaj total | 100 |