Pagini recente » Borderou de evaluare (job #2297262) | Borderou de evaluare (job #1244016) | Borderou de evaluare (job #2255817) | Borderou de evaluare (job #1695062) | Borderou de evaluare (job #1563586)
Borderou de evaluare (job #1563586)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:65: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
long long x1, x2; fscanf(f, "%d %I64d %I64d\n", &n, &x1, &x2);
^
user.cpp:15:65: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
user.cpp:18:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f, "%I64d", &x2);
^
user.cpp:21:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(r.size() < i) {
^
user.cpp:22:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < in && r.size() < i; j ++)
^
user.cpp:30:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < r.size(); i ++) fprintf(g, "%I64d\n", r[i]);
^
user.cpp:30:66: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__gnu_cxx::__alloc_traits<std::allocator<long long int> >::value_type {aka long long int}’ [-Wformat=]
for(int i = 0; i < r.size(); i ++) fprintf(g, "%I64d\n", r[i]);
^
user.cpp:15:66: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
long long x1, x2; fscanf(f, "%d %I64d %I64d\n", &n, &x1, &x2);
^
user.cpp:18:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%I64d", &x2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 60ms | 784kb | Incorect | 0 |
2 | 244ms | 460kb | Incorect | 0 |
3 | Depăşit | 4468kb | Time limit exceeded. | 0 |
4 | Depăşit | 4460kb | Time limit exceeded. | 0 |
5 | 156ms | 1320kb | Incorect | 0 |
6 | 100ms | 928kb | Incorect | 0 |
7 | 100ms | 476kb | Incorect | 0 |
8 | 12ms | 568kb | Incorect | 0 |
9 | 8ms | 528kb | Incorect | 0 |
10 | 0ms | 456kb | Incorect | 0 |
Punctaj total | 0 |