Pagini recente » Borderou de evaluare (job #1679133) | Borderou de evaluare (job #1263828) | Borderou de evaluare (job #485398) | Borderou de evaluare (job #1570938) | Borderou de evaluare (job #1214265)
Borderou de evaluare (job #1214265)
Raport evaluator
Compilare:
user.cpp: In function ‘void Solve()’:
user.cpp:40:49: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
if (x!=a) printf("%d\n",min(n,x-a+1));
^
user.cpp: In function ‘void openIOFiles()’:
user.cpp:10:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("br.in","r",stdin);
^
user.cpp:11:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("br.out","w",stdout);
^
user.cpp: In function ‘void reaDATA()’:
user.cpp:25:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld",&n,&m);
^
user.cpp:28:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&P[i]);
^
user.cpp: In function ‘void Solve()’:
user.cpp:38:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld",&a,&s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | OK | 10 |
2 | 0ms | 256kb | OK | 10 |
3 | 0ms | 252kb | OK | 10 |
4 | 8ms | 260kb | OK | 10 |
5 | 8ms | 260kb | OK | 10 |
6 | 8ms | 276kb | OK | 10 |
7 | 8ms | 328kb | OK | 10 |
8 | 12ms | 376kb | OK | 10 |
9 | 12ms | 396kb | OK | 10 |
10 | 12ms | 416kb | OK | 10 |
Punctaj total | 100 |