Pagini recente » Borderou de evaluare (job #1985670) | Borderou de evaluare (job #2521663) | Borderou de evaluare (job #1130839) | Borderou de evaluare (job #1902539) | Borderou de evaluare (job #2462674)
Borderou de evaluare (job #2462674)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:26:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(r + pas < v[s % k].size() && v[s%k][r + pas] < i - b + 1)
~~~~~~~~^~~~~~~~~~~~~~~~~
main.cpp:35:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(r + pas < v[s % k].size() && v[s%k][r + pas] <= i - a + 1)
~~~~~~~~^~~~~~~~~~~~~~~~~
main.cpp:42:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d\n", rez);
^
main.cpp:12:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("divk.in", "r", stdin);
^
main.cpp:13:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("divk.out", "w", stdout);
^
main.cpp:16:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &n, &k, &a, &b);
^
main.cpp:19:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nr);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 6ms | 2490kb | OK | 10 |
2 | 8ms | 2490kb | Incorect | 0 |
3 | 20ms | 2637kb | Incorect | 0 |
4 | 44ms | 2883kb | Incorect | 0 |
5 | 82ms | 3276kb | Incorect | 0 |
6 | 189ms | 6291kb | OK | 10 |
7 | 136ms | 3837kb | Incorect | 0 |
8 | 197ms | 4587kb | Incorect | 0 |
9 | 201ms | 5636kb | Time limit exceeded | 0 |
10 | 203ms | 3641kb | Time limit exceeded | 0 |
Punctaj total | 20 |