Pagini recente » Borderou de evaluare (job #3154408) | Borderou de evaluare (job #2478717) | Borderou de evaluare (job #1904152) | Borderou de evaluare (job #2451612) | Borderou de evaluare (job #1903537)
Borderou de evaluare (job #1903537)
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 (*)[21]’ [-Wformat=]
for(int i=1;i<=m; ++i) scanf("%s",&s[i]);
^
user.cpp:29:13: warning: variable ‘subst’ set but not used [-Wunused-but-set-variable]
int subst=0;
^
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:50: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:51: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:66: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:67: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:68: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 | 276kb | OK | 5 |
2 | 0ms | 276kb | OK | 5 |
3 | 32ms | 280kb | OK | 5 |
4 | 124ms | 288kb | OK | 5 |
5 | 124ms | 288kb | OK | 5 |
6 | Depăşit | 260kb | Time limit exceeded. | 0 |
7 | Depăşit | 264kb | Time limit exceeded. | 0 |
8 | Depăşit | 268kb | Time limit exceeded. | 0 |
9 | Depăşit | 264kb | Time limit exceeded. | 0 |
10 | Depăşit | 264kb | Time limit exceeded. | 0 |
11 | 0ms | 240kb | Incorect | 0 |
12 | 0ms | 232kb | Incorect | 0 |
13 | 0ms | 240kb | Incorect | 0 |
14 | 0ms | 232kb | Incorect | 0 |
15 | 0ms | 232kb | Incorect | 0 |
16 | 0ms | 236kb | OK | 5 |
17 | 0ms | 268kb | OK | 5 |
18 | 0ms | 272kb | OK | 5 |
19 | 0ms | 268kb | Incorect | 0 |
20 | 0ms | 272kb | Incorect | 0 |
Punctaj total | 40 |