Pagini recente » Borderou de evaluare (job #1917261) | Borderou de evaluare (job #2594586) | Cod sursa (job #2369357) | Borderou de evaluare (job #248825) | Borderou de evaluare (job #1931649)
Borderou de evaluare (job #1931649)
Raport evaluator
Compilare:
user.cpp: In function ‘void display_solution()’:
user.cpp:46:26: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%lu\n", solution);
^
user.cpp: In function ‘long long int digit_found(int)’:
user.cpp:100:6: warning: unused variable ‘numarator’ [-Wunused-variable]
ull numarator = 1;
^
user.cpp:101:6: warning: unused variable ‘index’ [-Wunused-variable]
int index = 0;
^
user.cpp: In function ‘void read_input()’:
user.cpp:29:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &digit[i]);
^
user.cpp:33:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
user.cpp: In function ‘int main()’:
user.cpp:178:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("qnp.in", "r", stdin);
^
user.cpp:179:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("qnp.out", "w", stdout);
^
user.cpp:181:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 4ms | 992kb | Incorect | 0 |
✗ | 2 | 4ms | 996kb | Incorect | 0 |
✗ | 3 | 88ms | 1000kb | Incorect | 0 |
✗ | 4 | Depăşit | 1000kb | Time limit exceeded. | 0 |
✗ | 5 | Depăşit | 1280kb | Time limit exceeded. | 0 |
✗ | 6 | Depăşit | 1340kb | Time limit exceeded. | 0 |
✗ | 7 | Depăşit | 1388kb | Time limit exceeded. | 0 |
✗ | 8 | Depăşit | 1316kb | Time limit exceeded. | 0 |
✗ | 9 | Depăşit | 1476kb | Time limit exceeded. | 0 |
✓ | 10 | Depăşit | 1412kb | Time limit exceeded. | 0 |
Punctaj total | 0 |