Pagini recente » Borderou de evaluare (job #1401911) | Borderou de evaluare (job #392695) | Borderou de evaluare (job #1691863) | Borderou de evaluare (job #1526285) | Borderou de evaluare (job #1677544)
Borderou de evaluare (job #1677544)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[s[i]]=12-i+1, b[12-i+1]=s[i];
^
user.cpp:21:60: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for (j=1; j<=5; j++) cod[i]=cod[i]*13+1LL*a[sir[j]];
^
user.cpp:9:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zimeria.in","r",stdin);
^
user.cpp:10:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zimeria.out","w",stdout);
^
user.cpp:11:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&p);
^
user.cpp:12:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:13:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
user.cpp:20:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir+1);
^
/tmp/ccWNC8jk.o: In function `main':
user.cpp:(.text.startup+0x7e): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 5 |
2 | 0ms | 280kb | OK | 5 |
3 | 16ms | 668kb | OK | 5 |
4 | 36ms | 1064kb | OK | 5 |
5 | 72ms | 1836kb | OK | 5 |
6 | 152ms | 3396kb | OK | 5 |
7 | 0ms | 276kb | OK | 5 |
8 | 0ms | 288kb | OK | 5 |
9 | 0ms | 288kb | OK | 5 |
10 | 4ms | 316kb | OK | 5 |
11 | 12ms | 356kb | OK | 5 |
12 | 28ms | 432kb | OK | 5 |
13 | 56ms | 592kb | OK | 5 |
14 | 112ms | 900kb | OK | 5 |
15 | 140ms | 1060kb | OK | 5 |
16 | 216ms | 1452kb | OK | 5 |
17 | 300ms | 1836kb | OK | 5 |
18 | Depăşit | 2228kb | Time limit exceeded. | 0 |
19 | Depăşit | 2772kb | Time limit exceeded. | 0 |
20 | Depăşit | 3400kb | Time limit exceeded. | 0 |
Punctaj total | 85 |