Pagini recente » Borderou de evaluare (job #8345) | Borderou de evaluare (job #1091172) | Borderou de evaluare (job #1399493)
Borderou de evaluare (job #1399493)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("string.in","r",stdin);
^
user.cpp:13:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("string.out","w",stdout);
^
user.cpp:15:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:16:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a+1);a[0]='a';
^
/tmp/ccteT2af.o: In function `main':
user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 780kb | OK! | 10 |
2 | 0ms | 776kb | OK! | 10 |
3 | 4ms | 776kb | OK! | 10 |
4 | 0ms | 788kb | OK! | 10 |
5 | 12ms | 1264kb | OK! | 10 |
6 | 8ms | 976kb | OK! | 10 |
7 | 12ms | 1116kb | OK! | 10 |
8 | 12ms | 1268kb | OK! | 10 |
9 | 4ms | 904kb | OK! | 10 |
10 | 8ms | 1000kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 90 |