Pagini recente » Borderou de evaluare (job #2973966) | Borderou de evaluare (job #626996) | Borderou de evaluare (job #447855) | Borderou de evaluare (job #2818447) | Borderou de evaluare (job #1752031)
Borderou de evaluare (job #1752031)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld%ld",&n,&k);
^
user.cpp:21:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:24:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld%ld",&x,&y);
^
user.cpp:24:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:46:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<H[nod].size();i++)
^
user.cpp:20:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cezar.in","r",stdin);
^
user.cpp:21:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld",&n,&k);
^
user.cpp:24:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 496kb | OK | 5 |
2 | 0ms | 496kb | OK | 5 |
3 | 0ms | 496kb | OK | 5 |
4 | 0ms | 496kb | OK | 5 |
5 | 0ms | 492kb | OK | 5 |
6 | 0ms | 504kb | OK | 5 |
7 | 0ms | 512kb | OK | 5 |
8 | 0ms | 524kb | OK | 5 |
9 | 0ms | 516kb | OK | 5 |
10 | 0ms | 520kb | OK | 5 |
11 | 0ms | 552kb | OK | 5 |
12 | 0ms | 544kb | OK | 5 |
13 | 0ms | 568kb | OK | 5 |
14 | 0ms | 564kb | OK | 5 |
15 | 0ms | 560kb | OK | 5 |
16 | 0ms | 572kb | OK | 5 |
17 | 4ms | 588kb | OK | 5 |
18 | 4ms | 608kb | OK | 5 |
19 | 4ms | 604kb | Killed by signal 11(SIGSEGV). | 0 |
20 | 0ms | 484kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 90 |