Pagini recente » Borderou de evaluare (job #1078318) | Borderou de evaluare (job #298622) | Borderou de evaluare (job #595620) | Borderou de evaluare (job #918263) | Borderou de evaluare (job #2500397)
Borderou de evaluare (job #2500397)
Raport evaluator
Compilare:
main.cpp: In function 'long long int solve(long long int, long long int)':
main.cpp:28:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < points.size(); ++i) {
~~^~~~~~~~~~~~~~~
main.cpp:29:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 1 + i; j < points.size(); ++j) {
~~^~~~~~~~~~~~~~~
main.cpp:42:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < points.size(); ++i) {
~~^~~~~~~~~~~~~~~
main.cpp:43:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 1 + i; j < points.size() && j - i < 8; ++j) {
~~^~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:56:26: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d %d", &x, &y);
^
main.cpp:56:26: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
main.cpp:52: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);
^
main.cpp:53: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);
^
main.cpp:56:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | Incorect | 0 |
2 | 3ms | 131kb | Incorect | 0 |
3 | 15ms | 524kb | Incorect | 0 |
4 | 15ms | 524kb | Incorect | 0 |
5 | 41ms | 782kb | Incorect | 0 |
6 | 67ms | 1302kb | Incorect | 0 |
7 | 97ms | 2347kb | Incorect | 0 |
8 | 141ms | 2400kb | Incorect | 0 |
9 | 134ms | 2347kb | Incorect | 0 |
10 | 134ms | 2347kb | Incorect | 0 |
11 | 139ms | 2150kb | Ok | 5 |
12 | 171ms | 2154kb | Ok | 5 |
13 | 120ms | 1822kb | Ok | 5 |
14 | 125ms | 1822kb | Ok | 5 |
15 | 123ms | 1822kb | Ok | 5 |
16 | 121ms | 1822kb | Ok | 5 |
17 | 134ms | 2453kb | Ok | 5 |
18 | 121ms | 1822kb | Ok | 5 |
19 | 137ms | 1953kb | Ok | 5 |
20 | 161ms | 2691kb | Ok | 5 |
Punctaj total | 50 |