Pagini recente » Borderou de evaluare (job #3229281) | Borderou de evaluare (job #2954797) | Borderou de evaluare (job #3229913) | Borderou de evaluare (job #2761492) | Borderou de evaluare (job #1756434)
Borderou de evaluare (job #1756434)
Raport evaluator
Compilare:
user.cpp: In function ‘void Read()’:
user.cpp:18:56: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d", &Array[i].first, &Array[i].second);
^
user.cpp:18:56: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp: In function ‘void buildTree(int, int, int)’:
user.cpp:66:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < Arb[2 * K + 1].size(); i++)
^
user.cpp: In function ‘void Solve()’:
user.cpp:126:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d%d%d", &a.first, &a.second, &b.first, &b.second);
^
user.cpp:126:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:126:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:126:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
user.cpp: In function ‘void Read()’:
user.cpp:16:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &K, &N);
^
user.cpp:18:57: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &Array[i].first, &Array[i].second);
^
user.cpp: In function ‘bool check(std::vector<std::pair<long long int, long long int> >, long long int, long long int, long long int)’:
user.cpp:47:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘void Solve()’:
user.cpp:126:68: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &a.first, &a.second, &b.first, &b.second);
^
user.cpp: In function ‘int main()’:
user.cpp:151:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tri3.in", "r", stdin);
^
user.cpp:152:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tri3.out", "w" ,stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 6616kb | OK | 10 |
2 | 16ms | 6656kb | OK | 10 |
3 | 116ms | 8972kb | OK | 10 |
4 | Depăşit | 17164kb | Time limit exceeded. | 0 |
5 | Depăşit | 25236kb | Time limit exceeded. | 0 |
6 | Depăşit | 17156kb | Time limit exceeded. | 0 |
7 | Depăşit | 20608kb | Time limit exceeded. | 0 |
8 | 904ms | 16628kb | OK | 10 |
9 | 1016ms | 17420kb | OK | 10 |
10 | 1136ms | 18664kb | OK | 10 |
Punctaj total | 60 |