Pagini recente » Borderou de evaluare (job #2015271) | Borderou de evaluare (job #817453) | Borderou de evaluare (job #1990717) | Borderou de evaluare (job #2581765) | Borderou de evaluare (job #2456842)
Borderou de evaluare (job #2456842)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:11:31: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'int*' [-Wformat=]
scanf("%ld%ld%ld", &n, &m, &x);
^
main.cpp:11:31: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'int*' [-Wformat=]
main.cpp:11:31: warning: format '%ld' expects argument of type 'long int*', but argument 4 has type 'int*' [-Wformat=]
main.cpp:30:43: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=]
printf("%ld\n", dp[1-pos][x+CONST]);
^
main.cpp:8:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("diamant.in", "r", stdin);
^
main.cpp:9:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("diamant.out", "w", stdout);
^
main.cpp:11:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld%ld", &n, &m, &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Killed by Signal 11 | 0 |
2 | 4ms | 131kb | Killed by Signal 11 | 0 |
3 | 12ms | 131kb | Killed by Signal 11 | 0 |
4 | 12ms | 131kb | Killed by Signal 11 | 0 |
5 | 6ms | 131kb | Killed by Signal 11 | 0 |
6 | 18ms | 131kb | Killed by Signal 11 | 0 |
7 | 64ms | 262kb | Killed by Signal 11 | 0 |
8 | 139ms | 524kb | Killed by Signal 11 | 0 |
9 | 175ms | 655kb | Killed by Signal 11 | 0 |
10 | 253ms | 786kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |