Pagini recente » Borderou de evaluare (job #631018) | Borderou de evaluare (job #264297) | Borderou de evaluare (job #985942) | Borderou de evaluare (job #2725936) | Borderou de evaluare (job #2232950)
Borderou de evaluare (job #2232950)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
first[sir[i]][i]=i;
^
user.cpp:31:48: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(p=i,j=0;j<l1 && (p=first[sir[j]][p])<l;p++,j++);
^
user.cpp:10:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mesaj2.in","r",stdin);
^
user.cpp:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mesaj2.out","w",stdout);
^
user.cpp:13:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",sir);
^
user.cpp:22:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:25:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",sir);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1700kb | OK | 10 |
| 2 | 0ms | 1704kb | OK | 10 |
| 3 | 0ms | 1700kb | OK | 10 |
| 4 | 4ms | 1704kb | OK | 10 |
| 5 | 16ms | 1704kb | OK | 10 |
| 6 | 16ms | 1700kb | OK | 10 |
| 7 | 28ms | 1704kb | OK | 10 |
| 8 | 32ms | 1704kb | OK | 10 |
| 9 | 48ms | 1704kb | OK | 10 |
| 10 | 44ms | 1704kb | OK | 10 |
| Punctaj total | 100 |