Pagini recente » Borderou de evaluare (job #812239) | Borderou de evaluare (job #1014091) | Borderou de evaluare (job #831328) | Borderou de evaluare (job #299374) | Borderou de evaluare (job #1662334)
Borderou de evaluare (job #1662334)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int cmap(int, int)’:
user.cpp:62:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < work.size(); i++)
^
user.cpp:63:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = i + 1; j < work.size() && j - i <= limit; j++)
^
user.cpp: In function ‘int main()’:
user.cpp:71:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cmap.in","r",stdin);
^
user.cpp:72:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cmap.out","w",stdout);
^
user.cpp:74:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:76:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld", &P[i].first, &P[i].second);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 3612kb | Ok | 10 |
| 2 | 4ms | 3608kb | Ok | 10 |
| 3 | 16ms | 3684kb | Ok | 10 |
| 4 | 16ms | 3680kb | Ok | 10 |
| 5 | 48ms | 3844kb | Ok | 10 |
| 6 | 80ms | 4004kb | Ok | 10 |
| 7 | 120ms | 4156kb | Ok | 10 |
| 8 | 168ms | 4392kb | Ok | 10 |
| 9 | 176ms | 4388kb | Ok | 10 |
| 10 | 168ms | 4388kb | Ok | 10 |
| Punctaj total | 100 |