Pagini recente » Borderou de evaluare (job #1855630) | Borderou de evaluare (job #3151092) | Borderou de evaluare (job #2754624) | Borderou de evaluare (job #1084275) | Borderou de evaluare (job #1565442)
Borderou de evaluare (job #1565442)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fr[si[i]]++;
^
user.cpp:33:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fr[si[x]]++;
^
user.cpp:36:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fr[si[x]]--;
^
user.cpp:39:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(fr[si[x]]==0 && ta[si[x]]==0)
^
user.cpp:39:48: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(fr[si[x]]==0 && ta[si[x]]==0)
^
user.cpp:10:23: warning: unused variable ‘y’ [-Wunused-variable]
int n,i,j,l,m=0,x,y,p;
^
user.cpp:8:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("calandrinon.in","r",stdin);
^
user.cpp:9:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("calandrinon.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",&n);
^
user.cpp:12:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(si+1);
^
/tmp/ccbOHRhl.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 | 264kb | OK | 5 |
| 2 | 0ms | 264kb | OK | 5 |
| 3 | 0ms | 264kb | OK | 5 |
| 4 | 0ms | 272kb | OK | 5 |
| 5 | 0ms | 268kb | OK | 5 |
| 6 | 0ms | 264kb | OK | 5 |
| 7 | 0ms | 268kb | OK | 5 |
| 8 | 0ms | 272kb | OK | 5 |
| 9 | 0ms | 268kb | OK | 5 |
| 10 | 0ms | 272kb | OK | 5 |
| 11 | 8ms | 364kb | OK | 5 |
| 12 | 12ms | 364kb | OK | 5 |
| 13 | 16ms | 364kb | OK | 5 |
| 14 | 20ms | 368kb | OK | 5 |
| 15 | 108ms | 1236kb | OK | 5 |
| 16 | Depăşit | 1228kb | Time limit exceeded. | 0 |
| 17 | 196ms | 1240kb | OK | 5 |
| 18 | 188ms | 1232kb | OK | 5 |
| 19 | Depăşit | 1216kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 1212kb | Time limit exceeded. | 0 |
| Punctaj total | 85 |