Pagini recente » Borderou de evaluare (job #233406) | Borderou de evaluare (job #2634240) | Borderou de evaluare (job #2684051) | Borderou de evaluare (job #231775) | Borderou de evaluare (job #1300905)
Borderou de evaluare (job #1300905)
Raport evaluator
Compilare:
user.cpp: In function ‘void build(int, int, int)’:
user.cpp:13:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&v[nod]);
^
user.cpp: In function ‘int main()’:
user.cpp:35:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d",&n,&m);
^
user.cpp:35:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:38:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d",&a,&b);
^
user.cpp:38:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:39:14: warning: overflow in implicit constant conversion [-Woverflow]
maxim=-INF;
^
user.cpp: In function ‘void build(int, int, int)’:
user.cpp:13:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[nod]);
^
user.cpp: In function ‘int main()’:
user.cpp:33:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("saracsaurege.in","r",stdin);
^
user.cpp:34:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("saracsaurege.out","w",stdout);
^
user.cpp:35:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:38:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | Incorect | 0 |
2 | 0ms | 260kb | Incorect | 0 |
3 | 12ms | 312kb | Incorect | 0 |
4 | 12ms | 256kb | Incorect | 0 |
5 | 8ms | Depăşit | Memory limit exceeded. | 0 |
6 | 8ms | Depăşit | Memory limit exceeded. | 0 |
7 | 8ms | Depăşit | Memory limit exceeded. | 0 |
8 | 8ms | Depăşit | Memory limit exceeded. | 0 |
9 | 8ms | Depăşit | Memory limit exceeded. | 0 |
10 | 8ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |