Pagini recente » Borderou de evaluare (job #2088471) | Borderou de evaluare (job #1389063) | Borderou de evaluare (job #365551) | Borderou de evaluare (job #916527) | Borderou de evaluare (job #1296680)
Borderou de evaluare (job #1296680)
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:39:18: warning: overflow in implicit constant conversion [-Woverflow]
maxim=-INF;
^
user.cpp:44:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d",&a,&b);
^
user.cpp:44:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
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:44: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 | 340kb | Incorect | 0 |
2 | 20ms | Depăşit | Memory limit exceeded. | 0 |
3 | 48ms | Depăşit | Memory limit exceeded. | 0 |
4 | 20ms | Depăşit | Memory limit exceeded. | 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 |