Pagini recente » Cod sursa (job #2850171) | Cod sursa (job #108481) | Cod sursa (job #732933) | Cod sursa (job #652964) | Borderou de evaluare (job #1511888)
Borderou de evaluare (job #1511888)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve(std::pair<long long int, long long int>)’:
user.cpp:52:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", abs_sum);
^
user.cpp:63:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", abs_sum);
^
user.cpp: In function ‘int main()’:
user.cpp:69:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("complet.in", "r", stdin);
^
user.cpp:70:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("complet.out", "w", stdout);
^
user.cpp:72:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:74:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
user.cpp:81:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld", &x, &y, &z);
^
user.cpp:82:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld", &q1.first, &q2.first);
^
user.cpp:83:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld", &q3.first, &q1.second);
^
user.cpp:84:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld", &q2.second, &q3.second);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 448kb | OK | 10 |
| 2 | 24ms | 472kb | OK | 10 |
| 3 | 32ms | 532kb | OK | 10 |
| 4 | 44ms | 548kb | OK | 10 |
| 5 | 380ms | 644kb | OK | 10 |
| 6 | Depăşit | 684kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 740kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 776kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 816kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 816kb | Time limit exceeded. | 0 |
| Punctaj total | 50 |