Pagini recente » Borderou de evaluare (job #2135923) | Borderou de evaluare (job #682575) | Borderou de evaluare (job #2616853) | Borderou de evaluare (job #1108425) | Borderou de evaluare (job #1794360)
Borderou de evaluare (job #1794360)
Raport evaluator
Compilare:
user.cpp: In function ‘void print_answer()’:
user.cpp:130:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ", dp[i]);
^
user.cpp:131:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", dp[n]);
^
user.cpp: In function ‘void read_input()’:
user.cpp:44:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("harbingers.in","r",stdin);
^
user.cpp:46:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:49:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &x, &y, &z);
^
user.cpp:56:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &S[i], &V[i]);
^
user.cpp: In function ‘void print_answer()’:
user.cpp:127:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("harbingers.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 2412kb | Incorect | 0 |
2 | 8ms | 2688kb | Incorect | 0 |
3 | 96ms | 6732kb | Incorect | 0 |
4 | 148ms | 8908kb | Incorect | 0 |
5 | 216ms | 11072kb | Incorect | 0 |
6 | 260ms | 13224kb | Incorect | 0 |
7 | 156ms | 7144kb | Incorect | 0 |
8 | 244ms | 9284kb | Incorect | 0 |
9 | 236ms | 10368kb | Incorect | 0 |
10 | 220ms | 9708kb | Incorect | 0 |
Punctaj total | 0 |