Pagini recente » Borderou de evaluare (job #263136) | Borderou de evaluare (job #2261132) | Borderou de evaluare (job #1732463) | Borderou de evaluare (job #1960319) | Borderou de evaluare (job #2364711)
Borderou de evaluare (job #2364711)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:21:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(j=1;j<=m;j++)
^~~
main.cpp:23:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
int ok=1;
^~~
main.cpp:10:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("panza.in","r",stdin);
^
main.cpp:11:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("panza.out","w",stdout);
^
main.cpp:12:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&n,&m,&s,&f);
^
main.cpp:13:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=m;i++) scanf("%d",&a[i]);
^
main.cpp:14:48: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++) scanf("%d%d",&x[i],&y[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 3ms | 131kb | OK | 10 |
5 | 3ms | 131kb | OK | 10 |
6 | 3ms | 131kb | OK | 10 |
7 | 4ms | 131kb | OK | 10 |
8 | 23ms | 393kb | OK | 10 |
9 | 48ms | 917kb | OK | 10 |
10 | 31ms | 524kb | OK | 10 |
Punctaj total | 100 |