Pagini recente » Borderou de evaluare (job #432831) | Borderou de evaluare (job #1068121) | Borderou de evaluare (job #1127206) | Borderou de evaluare (job #2016885) | Borderou de evaluare (job #1878028)
Borderou de evaluare (job #1878028)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:40: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(j=0;j<64;++j) S[++k]=D[a[j]];
^
user.cpp:31:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
int y=D[a[i]];
^
user.cpp:12:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.in","r",stdin);
^
user.cpp:13:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.out","w",stdout);
^
user.cpp:14:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:20:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a);
^
user.cpp:25:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&m);
^
user.cpp:28:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a);
^
/tmp/ccXs3cHu.o: In function `main':
user.cpp:(.text.startup+0xc0): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 732kb | OK | 10 |
2 | 4ms | 540kb | OK | 10 |
3 | 0ms | 640kb | OK | 10 |
4 | 12ms | 1052kb | OK | 10 |
5 | 8ms | 3560kb | OK | 10 |
6 | 12ms | 3692kb | OK | 10 |
7 | 12ms | 3812kb | OK | 10 |
8 | 152ms | 48368kb | OK | 10 |
9 | 168ms | 54704kb | OK | 10 |
10 | 60ms | 5068kb | OK | 10 |
Punctaj total | 100 |