Pagini recente » Borderou de evaluare (job #2747184) | Borderou de evaluare (job #2065300) | Borderou de evaluare (job #1560243) | Borderou de evaluare (job #802812) | Borderou de evaluare (job #1240309)
Borderou de evaluare (job #1240309)
Raport evaluator
Compilare:
user.cpp: In function ‘void infasuratoare(std::vector<std::pair<int, int> >&)’:
user.cpp:18:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<P.size();j++)
^
user.cpp:24:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=2;j<P.size();j++)
^
user.cpp: In function ‘int next(std::vector<std::pair<int, int> >&, int)’:
user.cpp:32:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
{ return ((c!=P.size()-1) ? c+1 : 0);}
^
user.cpp: In function ‘int main()’:
user.cpp:60:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(cp==P.size()-1) break;
^
user.cpp:49:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{ freopen("oypara.in","r",stdin);
^
user.cpp:51:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:53:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{scanf("%d%d%d",&u,&v,&w); P.pb(mp(u,v)); Q.pb(mp(u,w));}
^
user.cpp:63:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("oypara.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1052kb | OK! | 10 |
2 | 0ms | 1052kb | OK! | 10 |
3 | 68ms | 1580kb | OK! | 10 |
4 | 92ms | 1684kb | OK! | 10 |
5 | 164ms | 1944kb | OK! | 10 |
6 | 200ms | 2464kb | OK! | 10 |
7 | 228ms | 2472kb | OK! | 10 |
8 | 260ms | 2472kb | OK! | 10 |
9 | 284ms | 2716kb | OK! | 10 |
10 | 0ms | 1060kb | OK! | 10 |
Punctaj total | 100 |