Pagini recente » Cod sursa (job #577494) | Borderou de evaluare (job #1872101) | Borderou de evaluare (job #2309662) | Borderou de evaluare (job #3197861) | Borderou de evaluare (job #1511904)
Borderou de evaluare (job #1511904)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve(std::pair<long long int, long long int>)’:
user.cpp:58: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:69: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:75: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:76: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:78: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:80:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
user.cpp:90: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:91: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:92: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:93: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 | 0ms | 768kb | OK | 10 |
| 2 | 4ms | 780kb | OK | 10 |
| 3 | 12ms | 832kb | OK | 10 |
| 4 | 16ms | 856kb | OK | 10 |
| 5 | 76ms | 952kb | OK | 10 |
| 6 | 596ms | 1012kb | OK | 10 |
| 7 | 616ms | 1068kb | OK | 10 |
| 8 | 644ms | 1112kb | OK | 10 |
| 9 | 680ms | 1144kb | OK | 10 |
| 10 | 680ms | 1144kb | OK | 10 |
| Punctaj total | 100 |