Borderou de evaluare (job #2347266)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:15:21: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=]
scanf("%I64d",&n);
^
main.cpp:18:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=]
scanf("%I64d",&x);
^
main.cpp:23:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0 ; i < v.size() ; i++)
~~^~~~~~~~~~
main.cpp:32:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll {aka long long int}' [-Wformat=]
printf("%d",ct);
^
main.cpp:12:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("lumanari.in","r",stdin);
^
main.cpp:13:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("lumanari.out","w",stdout);
^
main.cpp:15:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d",&n);
^
main.cpp:18:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 10ms | 131kb | OK | 10 | 10 |
2 | 2ms | 131kb | OK | 10 | 10 |
3 | 2ms | 131kb | OK | 10 | 10 |
4 | 203ms | 2347kb | Time limit exceeded | 0 | 0 |
5 | 200ms | 2347kb | Time limit exceeded | 0 | 0 |
6 | 203ms | 2347kb | Time limit exceeded | 0 | 0 |
7 | 201ms | 2347kb | Time limit exceeded | 0 | 0 |
8 | 201ms | 2347kb | Time limit exceeded | 0 | 0 |
9 | 169ms | 2347kb | OK | 10 |
10 | 200ms | 2347kb | Time limit exceeded | 0 |
Punctaj total | 30 |