Pagini recente » Borderou de evaluare (job #3166909) | Borderou de evaluare (job #1031816) | Borderou de evaluare (job #2818735) | Borderou de evaluare (job #2477246) | Borderou de evaluare (job #1264217)
Borderou de evaluare (job #1264217)
Raport evaluator
Compilare:
user.cpp: In member function ‘void POINT::read()’:
user.cpp:15:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
scanf("%lld%d", &x, &y);
^
user.cpp: In function ‘long long int solve(int, int)’:
user.cpp:47:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < y.size(); ++ i)
^
user.cpp:48:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = i + 1; j < y.size() && j - i <= 8; ++ j)
^
user.cpp: In function ‘int main()’:
user.cpp:54:35: 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:55:37: 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:58:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp: In member function ‘void POINT::read()’:
user.cpp:15:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%d", &x, &y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 360kb | Incorect | 0 |
| 2 | 0ms | 364kb | Incorect | 0 |
| 3 | 24ms | 528kb | Incorect | 0 |
| 4 | 24ms | 528kb | Incorect | 0 |
| 5 | 80ms | 1392kb | Incorect | 0 |
| 6 | 144ms | 2044kb | Incorect | 0 |
| 7 | 200ms | 2704kb | Incorect | 0 |
| 8 | 300ms | 3552kb | Incorect | 0 |
| 9 | 300ms | 3556kb | Incorect | 0 |
| 10 | 300ms | 3552kb | Incorect | 0 |
| Punctaj total | 0 |