Pagini recente » Borderou de evaluare (job #2392453) | Borderou de evaluare (job #530187) | Borderou de evaluare (job #3288982) | Borderou de evaluare (job #220620) | Borderou de evaluare (job #1903575)
Borderou de evaluare (job #1903575)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve1()’:
user.cpp:21:44: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[30]’ [-Wformat=]
for(int i=1;i<=m; ++i) scanf("%s",&s[i]);
^
user.cpp: In function ‘void solve3()’:
user.cpp:52:9: warning: variable ‘ok’ set but not used [-Wunused-but-set-variable]
int ok=0,nr=0;
^
user.cpp: In function ‘void solve1()’:
user.cpp:20:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%lld",&n,&m);
^
user.cpp:21:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=m; ++i) scanf("%s",&s[i]);
^
user.cpp: In function ‘void solve3()’:
user.cpp:49:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%lld",&n,&m);
^
user.cpp:50:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;++i) scanf("%lld",&v[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:65:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("march.in","r",stdin);
^
user.cpp:66:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("march.out","w",stdout);
^
user.cpp:67:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 280kb | OK | 5 |
| 2 | 0ms | 284kb | OK | 5 |
| 3 | 32ms | 292kb | OK | 5 |
| 4 | 124ms | 300kb | OK | 5 |
| 5 | 124ms | 300kb | OK | 5 |
| 6 | Depăşit | 264kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 276kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 272kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 276kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 272kb | Time limit exceeded. | 0 |
| 11 | 0ms | 236kb | Incorect | 0 |
| 12 | 0ms | 236kb | Incorect | 0 |
| 13 | 0ms | 236kb | Incorect | 0 |
| 14 | 0ms | 236kb | Incorect | 0 |
| 15 | 0ms | 232kb | Incorect | 0 |
| 16 | 0ms | 236kb | OK | 5 |
| 17 | 0ms | 264kb | OK | 5 |
| 18 | 0ms | 268kb | OK | 5 |
| 19 | 0ms | 268kb | Incorect | 0 |
| 20 | 0ms | 272kb | Incorect | 0 |
| Punctaj total | 40 |