Pagini recente » Borderou de evaluare (job #2633579) | Borderou de evaluare (job #2926572) | Borderou de evaluare (job #2516509) | Borderou de evaluare (job #1743782) | Borderou de evaluare (job #1981326)
Borderou de evaluare (job #1981326)
Raport evaluator
Compilare:
user.cpp: In function ‘void expand(std::vector<int>&)’:
user.cpp:46:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v.size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:68:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<v1.size();j++) v.push_back(v1[j]);
^
user.cpp:83:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v.size()-1;i++) sol[find_edge(v[i],v[i+1])]=++nr;
^
user.cpp:87:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<q.size();i++)
^
user.cpp:92:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<v.size()-1;j++) sol[find_edge(v[j],v[j+1])]=++nr;
^
user.cpp: In function ‘int find_edge(int, int)’:
user.cpp:42:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:53:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nogcd.in", "r", stdin);
^
user.cpp:54:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nogcd.out", "w", stdout);
^
user.cpp:56:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:59:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 3176kb | OK | 10 |
2 | 4ms | 3180kb | OK | 10 |
3 | 4ms | 3176kb | OK | 10 |
4 | 4ms | 3228kb | OK | 5 |
5 | 8ms | 3308kb | OK | 7 |
6 | 36ms | 3956kb | OK | 8 |
7 | 72ms | 4712kb | OK | 7 |
8 | 136ms | 6044kb | OK | 8 |
9 | 396ms | 11740kb | OK | 10 |
10 | 184ms | 6896kb | OK | 10 |
11 | 180ms | 7100kb | OK | 8 |
12 | 204ms | 7732kb | OK | 7 |
Punctaj total | 100 |