Pagini recente » Borderou de evaluare (job #823987) | Borderou de evaluare (job #2790719) | Borderou de evaluare (job #1944839) | Borderou de evaluare (job #1508715) | Borderou de evaluare (job #1302664)
Borderou de evaluare (job #1302664)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:104:8: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
int i,x,poz,before,after;
^
user.cpp:104:14: warning: unused variable ‘before’ [-Wunused-variable]
int i,x,poz,before,after;
^
user.cpp:104:21: warning: unused variable ‘after’ [-Wunused-variable]
int i,x,poz,before,after;
^
user.cpp:105:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix2.in","r",stdin);
^
user.cpp:106:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix2.out","w",stdout);
^
user.cpp:107:11: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/ccMpdZlt.o: In function `main':
user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 672kb | Incorect | 0 |
2 | 0ms | 764kb | Incorect | 0 |
3 | 12ms | 1636kb | Incorect | 0 |
4 | 12ms | 1640kb | Incorect | 0 |
5 | 12ms | 1636kb | Incorect | 0 |
6 | 44ms | 3660kb | Incorect | 0 |
7 | 80ms | 5836kb | Incorect | 0 |
8 | 216ms | 11264kb | Incorect | 0 |
9 | 216ms | 11272kb | Incorect | 0 |
10 | 208ms | 11268kb | Incorect | 0 |
Punctaj total | 0 |