Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #1446475)
| Utilizator | Data | 1 iunie 2015 21:59:03 | |
|---|---|---|---|
| Problema | Trompeta | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 70 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(st.size()+n-i<m) st.push(s);
^
user.cpp:25:68: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(!st.empty() && st.top()<s && st.size()+n-i>=m)
^
user.cpp:27:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(st.size()<m) st.push(s);
^
user.cpp:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trompeta.in","r",stdin);
^
user.cpp:12:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trompeta.out","w",stdout);
^
user.cpp:15:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&n,&m);
^
user.cpp:18:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&s);
^
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 0ms | 268kb | OK | 10 |
| 2 | 0ms | 268kb | OK | 10 |
| 3 | 0ms | 268kb | OK | 10 |
| 4 | 0ms | 268kb | OK | 10 |
| 5 | 0ms | 264kb | OK | 10 |
| 6 | 12ms | 356kb | OK | 10 |
| 7 | 12ms | 312kb | OK | 10 |
| 8 | Depăşit | 296kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 748kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 340kb | Time limit exceeded. | 0 |
| Punctaj total | 70 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
