Pagini recente » Borderou de evaluare (job #1270573) | Borderou de evaluare (job #162443) | Borderou de evaluare (job #1277927) | Borderou de evaluare (job #2361529) | Borderou de evaluare (job #2730141)
Borderou de evaluare (job #2730141)
Raport evaluator
Compilare:
main.cpp: In function 'std::vector<int> calct(std::vector<std::vector<int> >&, int)':
main.cpp:33:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 1; i < dp.size(); i++)
~~^~~~~~~~~~~
main.cpp:34:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0; j < aux.size(); j++)
~~^~~~~~~~~~~~
main.cpp: In function 'std::vector<int> merg(std::vector<int>&, const std::vector<int>&)':
main.cpp:41:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < dp1.size(); i++){
~~^~~~~~~~~~~~
main.cpp:42:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0; j < dp2.size(); j++)
~~^~~~~~~~~~~~
main.cpp: In function 'std::vector<int> calcc(std::vector<std::vector<int> >&, std::set<int>&)':
main.cpp:56:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = n; i < cicdp.size(); i++)
~~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:79:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 1; i < ans.size(); i++)
~~^~~~~~~~~~~~
main.cpp:71:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("politic2.in","r",stdin);
^
main.cpp:72:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("politic2.out","w",stdout);
^
main.cpp:74:16: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:77:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &aux[i]), aux[i]--;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 5 |
| 2 | 2ms | 131kb | OK | 5 |
| 3 | 3ms | 131kb | OK | 5 |
| 4 | 3ms | 131kb | OK | 5 |
| 5 | 3ms | 131kb | OK | 5 |
| 6 | 3ms | 131kb | OK | 5 |
| 7 | 3ms | 131kb | OK | 5 |
| 8 | 3ms | 131kb | OK | 5 |
| 9 | 5ms | 131kb | OK | 5 |
| 10 | 5ms | 262kb | OK | 5 |
| 11 | 6ms | 262kb | OK | 5 |
| 12 | 6ms | 262kb | OK | 5 |
| 13 | 6ms | 262kb | OK | 5 |
| 14 | 7ms | 262kb | OK | 5 |
| 15 | 8ms | 262kb | OK | 5 |
| 16 | 9ms | 262kb | OK | 5 |
| 17 | 9ms | 262kb | OK | 5 |
| 18 | 4ms | 262kb | OK | 5 |
| 19 | 7ms | 393kb | OK | 5 |
| 20 | 7ms | 262kb | OK | 5 |
| Punctaj total | 100 |