Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #1221198)
| Utilizator | Data | 19 august 2014 20:45:24 | |
|---|---|---|---|
| Problema | Farfurii | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 80 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=2;i*(i-1)<k*2;i++);
^
user.cpp:15:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(m*(m+1)==k*2)q=1;
^
user.cpp:24:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<m+q&&i<n;i++)
^
user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("farfurii.in","r",stdin);
^
user.cpp:11:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("farfurii.out","w",stdout);
^
user.cpp:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 0ms | 260kb | Wrong answer! | 0 |
| 2 | 0ms | 252kb | OK! | 10 |
| 3 | 0ms | 260kb | OK! | 10 |
| 4 | 0ms | 256kb | OK! | 10 |
| 5 | 0ms | 256kb | OK! | 10 |
| 6 | 0ms | 252kb | OK! | 10 |
| 7 | 4ms | 256kb | OK! | 10 |
| 8 | 12ms | 256kb | OK! | 10 |
| 9 | 20ms | 252kb | OK! | 10 |
| 10 | Depăşit | 224kb | Time limit exceeded. | 0 |
| Punctaj total | 80 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
