Pagini recente » Borderou de evaluare (job #2558257) | Borderou de evaluare (job #1948594) | Borderou de evaluare (job #3343691) | Cod sursa (job #281114) | Borderou de evaluare (job #1988082)
Borderou de evaluare (job #1988082)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:44:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("substr.in","r",stdin);
^
user.cpp:45:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("substr.out","w",stdout);
^
user.cpp:46:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:47:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",s+1);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 24ms | 3116kb | Incorect | 0 |
| 2 | 24ms | 3120kb | OK | 10 |
| 3 | 24ms | 3116kb | OK | 10 |
| 4 | 12ms | 3064kb | OK | 10 |
| 5 | 24ms | 3116kb | OK | 10 |
| 6 | 24ms | 3116kb | OK | 10 |
| 7 | 8ms | 3048kb | OK | 10 |
| 8 | 8ms | 3052kb | OK | 10 |
| 9 | 8ms | 3052kb | OK | 10 |
| 10 | 16ms | 3104kb | OK | 10 |
| Punctaj total | 90 |