Pagini recente » Borderou de evaluare (job #1248851) | Borderou de evaluare (job #2372807) | Borderou de evaluare (job #2843532) | Borderou de evaluare (job #1383437) | Borderou de evaluare (job #1938181)
Borderou de evaluare (job #1938181)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",S[p]+(n*m-p)*(x-1));
^
user.cpp:9:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inundatie.in","r",stdin);
^
user.cpp:10:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inundatie.out","w",stdout);
^
user.cpp:12:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:14:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:19:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&Q);
^
user.cpp:22:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | OK | 10 |
2 | 0ms | 284kb | OK | 10 |
3 | 8ms | 376kb | Incorect | 0 |
4 | 20ms | 516kb | OK | 10 |
5 | 32ms | 612kb | OK | 10 |
6 | 44ms | 728kb | Incorect | 0 |
7 | 60ms | 984kb | OK | 10 |
8 | 84ms | 1144kb | Incorect | 0 |
9 | 116ms | 1308kb | Incorect | 0 |
10 | 0ms | 252kb | OK | 10 |
Punctaj total | 60 |