Pagini recente » Borderou de evaluare (job #2059288) | Borderou de evaluare (job #2254498) | Borderou de evaluare (job #1573576) | Borderou de evaluare (job #3198267) | Borderou de evaluare (job #1235857)
Borderou de evaluare (job #1235857)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d%d",&tip,&n,&k);
^
user.cpp:26:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:26:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:28:51: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",(n-k)%2?-s[n][k]:s[n][k]);
^
user.cpp:30:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",S[n][k]);
^
user.cpp:7:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("stirling.in","r",stdin);
^
user.cpp:8:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("stirling.out","w",stdout);
^
user.cpp:23:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&t);
^
user.cpp:26:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&tip,&n,&k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 928kb | Incorect | 0 |
2 | 0ms | 928kb | Incorect | 0 |
3 | 0ms | 920kb | Incorect | 0 |
4 | 0ms | 928kb | Incorect | 0 |
5 | 0ms | 924kb | Incorect | 0 |
6 | 0ms | 920kb | Incorect | 0 |
7 | 0ms | 924kb | Incorect | 0 |
8 | 0ms | 924kb | Incorect | 0 |
9 | 0ms | 924kb | Incorect | 0 |
10 | 0ms | 924kb | Incorect | 0 |
Punctaj total | 0 |