Pagini recente » Cod sursa (job #545091) | Cod sursa (job #2529483) | Cod sursa (job #1390947) | Diferente pentru problema/party intre reviziile 8 si 9 | Borderou de evaluare (job #3267999)
Borderou de evaluare (job #3267999)
Raport evaluator
Compilare:
main.cpp: In function 'void add(int)':
main.cpp:12:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | for(int i=0;i<div1.size();i++)
| ~^~~~~~~~~~~~
main.cpp: In function 'void remove(int)':
main.cpp:23:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | for(int i=0;i<div1.size();i++)
| ~^~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:35:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
35 | for(int i=2;i*i<=cm;i++)
| ^~~
main.cpp:41:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
41 | if(cm>1)div1.push_back(cm);
| ^~
main.cpp:48:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
48 | if(goods==div1.size())rasp++;
| ~~~~~^~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | OK | 10 |
| 2 | 0ms | 303kb | OK | 10 |
| 3 | 0ms | 303kb | OK | 10 |
| 4 | 2ms | 303kb | OK | 10 |
| 5 | 4ms | 303kb | OK | 10 |
| 6 | 3ms | 303kb | OK | 10 |
| 7 | 3ms | 303kb | OK | 10 |
| 8 | 6ms | 303kb | OK | 10 |
| 9 | 1ms | 303kb | OK | 10 |
| 10 | 9ms | 303kb | OK | 10 |
| Punctaj total | 100 |