Pagini recente » Borderou de evaluare (job #1987444) | Borderou de evaluare (job #1055617) | Borderou de evaluare (job #2616065) | Borderou de evaluare (job #2794434) | Borderou de evaluare (job #2145749)
Borderou de evaluare (job #2145749)
Raport evaluator
Compilare:
user.cpp: In function ‘void show(std::vector<int>)’:
user.cpp:10:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<p.size();++i)
^
user.cpp: In function ‘void perm(std::vector<int>, int)’:
user.cpp:16:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(p.size()==n){show(p);return;}
^
user.cpp: In function ‘int main()’:
user.cpp:28:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("permutari.in","r",stdin);
^
user.cpp:29:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("permutari.out","w",stdout);
^
user.cpp:30:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1040kb | OK | 20 |
| 2 | 0ms | 1036kb | OK | 20 |
| 3 | 0ms | 1036kb | OK | 20 |
| 4 | 12ms | 1040kb | OK | 20 |
| 5 | 96ms | 1040kb | OK | 20 |
| Punctaj total | 100 |