Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2014560)
| Utilizator | Data | 23 august 2017 22:02:04 | |
|---|---|---|---|
| Problema | Trompeta | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(!st.empty() && (st.size()+n-i-1)>=m && st.top()<input[i])
^
user.cpp:10:35: 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:11:37: 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:13: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:14:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(input);
^
/tmp/ccDU0e6U.o: In function `main':
user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 0ms | 284kb | Incorect | 0 |
| 2 | 0ms | 288kb | Incorect | 0 |
| 3 | 0ms | 300kb | Incorect | 0 |
| 4 | 0ms | 292kb | Incorect | 0 |
| 5 | 0ms | 292kb | Incorect | 0 |
| 6 | 0ms | 384kb | Killed by signal 6(SIGABRT). | 0 |
| 7 | 0ms | 388kb | Killed by signal 6(SIGABRT). | 0 |
| 8 | 0ms | 384kb | Killed by signal 6(SIGABRT). | 0 |
| 9 | 0ms | 380kb | Killed by signal 6(SIGABRT). | 0 |
| 10 | 0ms | 388kb | Killed by signal 6(SIGABRT). | 0 |
| Punctaj total | 0 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
