Pagini recente » Borderou de evaluare (job #955071) | Borderou de evaluare (job #1355503) | Borderou de evaluare (job #1935522) | Borderou de evaluare (job #881878) | Borderou de evaluare (job #2041009)
Borderou de evaluare (job #2041009)
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/cc95m4E7.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 | 844kb | OK! | 10 |
2 | 0ms | 844kb | OK! | 10 |
3 | 4ms | 848kb | OK! | 10 |
4 | 8ms | 860kb | OK! | 10 |
5 | 8ms | 1336kb | OK! | 10 |
6 | 24ms | 1044kb | OK! | 10 |
7 | 36ms | 1188kb | OK! | 10 |
8 | 52ms | 1336kb | OK! | 10 |
9 | 24ms | 972kb | OK! | 10 |
10 | 40ms | 1104kb | Raspuns gresit! | 0 |
Punctaj total | 90 |