Pagini recente » Borderou de evaluare (job #2090678) | Borderou de evaluare (job #2111169) | Borderou de evaluare (job #1697224) | Borderou de evaluare (job #2858365) | Borderou de evaluare (job #1917574)
Borderou de evaluare (job #1917574)
Raport evaluator
Compilare:
user.cpp: In function ‘bool is_ok(int)’:
user.cpp:9:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<=n)
^
user.cpp:12:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<=n && v[i]-st<=d)
^
user.cpp:12:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<=n && v[i]-st<=d)
^
user.cpp:17:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<=n && v[i]-st<=d)
^
user.cpp:17:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<=n && v[i]-st<=d)
^
user.cpp:20:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(ap<=k)
^
user.cpp: In function ‘int main()’:
user.cpp:35:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=2; i<=n; i++)
^
user.cpp:31:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("orase1.in","r",stdin);
^
user.cpp:32:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("orase1.out","w",stdout);
^
user.cpp:34:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:37:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 272kb | OK | 10 | 10 |
2 | 0ms | 272kb | OK | 10 | 10 |
3 | 24ms | 660kb | OK | 10 | 10 |
4 | 52ms | 1052kb | OK | 10 | 10 |
5 | 140ms | 2612kb | OK | 10 | 10 |
6 | 164ms | 3000kb | OK | 10 | 10 |
7 | 180ms | 3392kb | OK | 10 | 30 |
8 | 212ms | 3784kb | OK | 10 |
9 | 244ms | 4168kb | OK | 10 |
10 | 0ms | 264kb | OK | 10 | 10 |
Punctaj total | 100 |