Pagini recente » Borderou de evaluare (job #668043) | Borderou de evaluare (job #3276910) | Borderou de evaluare (job #1962046) | Borderou de evaluare (job #724933) | Borderou de evaluare (job #2113017)
Borderou de evaluare (job #2113017)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:56:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘ll* {aka long long int*}’ [-Wformat=]
for(i = 0; i < n; ++i) scanf("%d", v + i);
^
user.cpp:49:8: warning: unused variable ‘j’ [-Wunused-variable]
ll i, j, type;
^
user.cpp:45:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dif2.in", "r", stdin);
^
user.cpp:46:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dif2.out", "w", stdout);
^
user.cpp:52:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld", &type, &n);
^
user.cpp:53:100: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if(type == 2) scanf("%lld %lld", &p1, &p2), p1 = n * n + 1 - p1, p2 = n * n + 1 - p2, swap(p1, p2);
^
user.cpp:56:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i = 0; i < n; ++i) scanf("%d", v + i);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 488ms | 2684kb | OK | 5 |
| 2 | 396ms | 2288kb | OK | 5 |
| 3 | 284ms | 1740kb | OK | 5 |
| 4 | 284ms | 1756kb | OK | 5 |
| 5 | 400ms | 2252kb | OK | 5 |
| 6 | 0ms | 456kb | OK | 5 |
| 7 | 0ms | 456kb | OK | 5 |
| 8 | 76ms | 744kb | OK | 5 |
| 9 | 92ms | 800kb | OK | 5 |
| 10 | 20ms | 544kb | OK | 5 |
| 11 | 100ms | 812kb | OK | 5 |
| 12 | 68ms | 732kb | OK | 5 |
| 13 | 88ms | 788kb | OK | 5 |
| 14 | 452ms | 2084kb | OK | 5 |
| 15 | 596ms | 2704kb | OK | 5 |
| 16 | 436ms | 1876kb | OK | 5 |
| 17 | 656ms | 2652kb | OK | 5 |
| 18 | 580ms | 2368kb | OK | 5 |
| 19 | 396ms | 1860kb | OK | 5 |
| 20 | 164ms | 1236kb | OK | 5 |
| Punctaj total | 100 |