Pagini recente » Borderou de evaluare (job #1288851) | Borderou de evaluare (job #472250) | Borderou de evaluare (job #1049056) | Borderou de evaluare (job #2108868) | Borderou de evaluare (job #1208548)
Borderou de evaluare (job #1208548)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:50:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[13]’ [-Wformat=]
scanf("%s",&q);
^
user.cpp:51: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:53: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:57:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[13]’ [-Wformat=]
scanf("%s",&q);
^
user.cpp:60:26: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[6]’ [-Wformat=]
scanf("%s",&d);
^
user.cpp:44: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:45: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:46:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&sw);
^
user.cpp:49:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:50:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&q);
^
user.cpp:51: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:56:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:57:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&q);
^
user.cpp:60:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&d);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 660kb | OK | 5 |
2 | 4ms | 3420kb | OK | 5 |
3 | 8ms | Depăşit | Memory limit exceeded. | 0 |
4 | 8ms | Depăşit | Memory limit exceeded. | 0 |
5 | 8ms | Depăşit | Memory limit exceeded. | 0 |
6 | 8ms | Depăşit | Memory limit exceeded. | 0 |
7 | 0ms | 260kb | OK | 5 |
8 | 0ms | 272kb | OK | 5 |
9 | 0ms | 276kb | OK | 5 |
10 | 4ms | 292kb | OK | 5 |
11 | 12ms | 324kb | OK | 5 |
12 | 24ms | 376kb | OK | 5 |
13 | 52ms | 496kb | OK | 5 |
14 | 108ms | 732kb | OK | 5 |
15 | 136ms | 852kb | OK | 5 |
16 | 212ms | 1140kb | OK | 5 |
17 | 284ms | 1436kb | OK | 5 |
18 | Depăşit | 1728kb | Time limit exceeded. | 0 |
19 | Depăşit | 2120kb | Time limit exceeded. | 0 |
20 | Depăşit | 2588kb | Time limit exceeded. | 0 |
Punctaj total | 65 |