Pagini recente » Borderou de evaluare (job #2926676) | Borderou de evaluare (job #101483) | Borderou de evaluare (job #198698) | Borderou de evaluare (job #2941166) | Borderou de evaluare (job #1862767)
Borderou de evaluare (job #1862767)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("muzeu.in","r",stdin);
^
user.cpp:20:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("muzeu.out","w",stdout);
^
user.cpp:23:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:26:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(1+s);
^
/tmp/ccy2gSK1.o: In function `main':
user.cpp:(.text.startup+0x88): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 0ms | 304kb | OK | 10 |
3 | 0ms | 344kb | OK | 10 |
4 | 0ms | 452kb | OK | 10 |
5 | 8ms | 756kb | OK | 10 |
6 | 12ms | 968kb | OK | 10 |
7 | 16ms | 964kb | OK | 10 |
8 | 12ms | 964kb | OK | 10 |
9 | 16ms | 1020kb | OK | 10 |
10 | 16ms | 1020kb | OK | 10 |
Punctaj total | 100 |