Pagini recente » Borderou de evaluare (job #1047827) | Borderou de evaluare (job #1439625) | Borderou de evaluare (job #435696) | Borderou de evaluare (job #1913686) | Borderou de evaluare (job #1399490)
Borderou de evaluare (job #1399490)
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/ccbad9LQ.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 | 520kb | OK! | 10 |
2 | 0ms | 520kb | OK! | 10 |
3 | 0ms | 516kb | OK! | 10 |
4 | 0ms | 536kb | OK! | 10 |
5 | 12ms | 1004kb | OK! | 10 |
6 | 4ms | 720kb | OK! | 10 |
7 | 8ms | 864kb | OK! | 10 |
8 | 12ms | 1008kb | OK! | 10 |
9 | 4ms | 648kb | OK! | 10 |
10 | 8ms | 772kb | Raspuns gresit! | 0 |
Punctaj total | 90 |