Pagini recente » Borderou de evaluare (job #2196819) | Borderou de evaluare (job #2322820) | Borderou de evaluare (job #1657810) | Borderou de evaluare (job #1259869) | Borderou de evaluare (job #1720287)
Borderou de evaluare (job #1720287)
Raport evaluator
Compilare:
user.cpp: In function ‘void merge(std::vector<int>&, std::vector<int>&, std::vector<int>&)’:
user.cpp:34:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(; i<a.size() && j<b.size(); ) {
^
user.cpp:34:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(; i<a.size() && j<b.size(); ) {
^
user.cpp:41:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(; i<a.size(); i++)
^
user.cpp:44:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(; j<b.size(); j++)
^
user.cpp: In function ‘void q_pom(int, int, int)’:
user.cpp:70:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(a+m<pom[nod].size() && pom[nod][a+m]<qy1)
^
user.cpp:74:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(b+m<pom[nod].size() && pom[nod][b+m]<=qy2)
^
user.cpp:63:9: warning: unused variable ‘ans’ [-Wunused-variable]
int ans = 0;
^
user.cpp: In function ‘int main()’:
user.cpp:159:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("qxy.in", "r", stdin);
^
user.cpp:160:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("qxy.out", "w", stdout);
^
user.cpp:162:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:164:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i].y);
^
user.cpp:170:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:173:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&qx1,&qx2,&qy1,&qy2);
^
user.cpp: In function ‘int query()’:
user.cpp:108:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 152ms | 868kb | OK | 5 |
2 | 176ms | 884kb | OK | 5 |
3 | 172ms | 1080kb | OK | 5 |
4 | 56ms | 760kb | OK | 5 |
5 | 164ms | 880kb | OK | 5 |
6 | 164ms | 1036kb | OK | 5 |
7 | 136ms | 1036kb | OK | 5 |
8 | 88ms | 864kb | OK | 5 |
9 | 88ms | 812kb | OK | 5 |
10 | Depăşit | 1820kb | Time limit exceeded. | 0 |
11 | 136ms | 1296kb | OK | 5 |
12 | 140ms | 1428kb | OK | 5 |
13 | Depăşit | 1904kb | Time limit exceeded. | 0 |
14 | Depăşit | 1904kb | Time limit exceeded. | 0 |
15 | Depăşit | 1900kb | Time limit exceeded. | 0 |
16 | Depăşit | 1896kb | Time limit exceeded. | 0 |
17 | Depăşit | 1900kb | Time limit exceeded. | 0 |
18 | Depăşit | 1900kb | Time limit exceeded. | 0 |
19 | Depăşit | 1896kb | Time limit exceeded. | 0 |
20 | Depăşit | 1904kb | Time limit exceeded. | 0 |
Punctaj total | 55 |