Pagini recente » Borderou de evaluare (job #278370) | Cod sursa (job #447452) | Cod sursa (job #3002121) | Cod sursa (job #120527) | Borderou de evaluare (job #2040994)
Borderou de evaluare (job #2040994)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21: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:22: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:26:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:28:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/cc25RqH1.o: In function `main':
user.cpp:(.text.startup+0x6f): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1336kb | OK! | 10 |
2 | 0ms | 1336kb | OK! | 10 |
3 | 0ms | 1336kb | OK! | 10 |
4 | 4ms | 1360kb | OK! | 10 |
5 | 8ms | 1820kb | OK! | 10 |
6 | 20ms | 1540kb | OK! | 10 |
7 | 32ms | 1680kb | OK! | 10 |
8 | 44ms | 1824kb | OK! | 10 |
9 | 16ms | 1472kb | OK! | 10 |
10 | 32ms | 1592kb | Raspuns gresit! | 0 |
Punctaj total | 90 |