Nu aveti permisiuni pentru a descarca fisierul grader_test5.in
Borderou de evaluare (job #3267999)
| Utilizator | Data | 13 ianuarie 2025 13:51:30 | |
|---|---|---|---|
| Problema | Chernel | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 100 | ||
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 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
