Pagini recente » Borderou de evaluare (job #2238920) | Borderou de evaluare (job #896376) | Borderou de evaluare (job #1609441) | Borderou de evaluare (job #2022141) | Borderou de evaluare (job #2121237)
Borderou de evaluare (job #2121237)
Raport evaluator
Compilare:
user.cpp:14:7: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
main()
^
user.cpp: In function ‘int main()’:
user.cpp:17:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&n,&m);
^
user.cpp:17:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:22:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&x);
^
user.cpp:27:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&w);
^
user.cpp:34:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&w);
^
user.cpp:40:14: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&k);
^
user.cpp:21:9: warning: unused variable ‘locST’ [-Wunused-variable]
int locST, locDR, x , w;
^
user.cpp:21:16: warning: unused variable ‘locDR’ [-Wunused-variable]
int locST, locDR, x , w;
^
user.cpp:102:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
if(P[i] == 1 ) printf("%d",i);
^
user.cpp:113:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
if(PS[i] == 1 ) printf("%d",i);
^
user.cpp:16:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("balanta.in","r",stdin);
^
user.cpp:17:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:22:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:27:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&w);
^
user.cpp:34:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&w);
^
user.cpp:40:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1260kb | Incorect | 0 |
2 | 0ms | 1256kb | Incorect | 0 |
3 | 0ms | 1256kb | Incorect | 0 |
4 | 0ms | 1256kb | Incorect | 0 |
5 | 0ms | 1256kb | Incorect | 0 |
6 | 0ms | 1256kb | Incorect | 0 |
7 | 0ms | 1260kb | Incorect | 0 |
8 | 0ms | 1264kb | Incorect | 0 |
9 | 0ms | 1264kb | OK | 10 |
10 | 0ms | 1260kb | Incorect | 0 |
Punctaj total | 10 |