Pagini recente » Borderou de evaluare (job #963078) | Borderou de evaluare (job #1248924) | Borderou de evaluare (job #2412580) | Borderou de evaluare (job #882929) | Borderou de evaluare (job #1206368)
Borderou de evaluare (job #1206368)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[13]’ [-Wformat=]
scanf("%s",&q);
^
user.cpp:36:43: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[6]’ [-Wformat=]
for(i=0;i<n;i++)scanf("%s",&v[i].s);
^
user.cpp:38:46: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[6]’ [-Wformat=]
for(i=0;i<n;i++)printf("%s\n",&v[i].s);
^
user.cpp:42:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[13]’ [-Wformat=]
scanf("%s",&q);
^
user.cpp:43:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[6]’ [-Wformat=]
scanf("%s",&v[0].s);
^
user.cpp:46:28: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[6]’ [-Wformat=]
scanf("%s",&x.s);
^
user.cpp:29:25: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(f,"r",stdin);
^
user.cpp:30:26: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(g,"w",stdout);
^
user.cpp:31:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&sw);
^
user.cpp:34:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:35:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&q);
^
user.cpp:36:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=0;i<n;i++)scanf("%s",&v[i].s);
^
user.cpp:41:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:42:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&q);
^
user.cpp:43:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&v[0].s);
^
user.cpp:46:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&x.s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 5 |
2 | 0ms | 284kb | OK | 5 |
3 | Depăşit | 348kb | Time limit exceeded. | 0 |
4 | Depăşit | 344kb | Time limit exceeded. | 0 |
5 | Depăşit | 348kb | Time limit exceeded. | 0 |
6 | Depăşit | 348kb | Time limit exceeded. | 0 |
7 | 0ms | 268kb | OK | 5 |
8 | 0ms | 280kb | OK | 5 |
9 | 0ms | 284kb | OK | 5 |
10 | 4ms | 296kb | OK | 5 |
11 | 12ms | 332kb | OK | 5 |
12 | 24ms | 388kb | OK | 5 |
13 | 52ms | 508kb | OK | 5 |
14 | 112ms | 732kb | OK | 5 |
15 | 140ms | 856kb | OK | 5 |
16 | 216ms | 1148kb | OK | 5 |
17 | 292ms | 1444kb | OK | 5 |
18 | Depăşit | 1732kb | Time limit exceeded. | 0 |
19 | Depăşit | 2124kb | Time limit exceeded. | 0 |
20 | Depăşit | 2584kb | Time limit exceeded. | 0 |
Punctaj total | 65 |