Pagini recente » Borderou de evaluare (job #2596307) | Atasamentele paginii avram_simulare_2 | Borderou de evaluare (job #1729127) | Borderou de evaluare (job #2444195) | Borderou de evaluare (job #1393222)
Borderou de evaluare (job #1393222)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d %d", &n, &k);
^
user.cpp:25:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:28:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &A[i]);
^
user.cpp:34:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", putere(dp[8] , k / 8));
^
user.cpp:22:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tango.in","r",stdin);
^
user.cpp:23:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tango.out","w",stdout);
^
user.cpp:25:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
user.cpp:28:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &A[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 256kb | OK | 10 |
| 2 | 0ms | 256kb | OK | 10 |
| 3 | 0ms | 268kb | OK | 10 |
| 4 | 4ms | 336kb | OK | 10 |
| 5 | 48ms | 1040kb | OK | 10 |
| 6 | 0ms | 260kb | OK | 10 |
| 7 | 0ms | 256kb | OK | 10 |
| 8 | 0ms | 264kb | OK | 10 |
| 9 | 0ms | 260kb | OK | 10 |
| 10 | 48ms | 1036kb | OK | 10 |
| Punctaj total | 100 |